GetTimeSpan(int) method
Returns the value of the specified column as a TimeSpan object.
Parameters
- ordinal
- An ordinal number indicating the column from which the value is obtained. The numbering is zero-based.
Returns
The value of the specified column.Remarks
The column must be an SAP HANA TIME data type. The data is converted to TimeSpan. The Days property of TimeSpan is always set to 0.
Call HanaDataReader.IsDBNull method to check for NULL values before calling this method.
For more information, see Time values.