Gets the value of the specified column as a DateTime object.
DateTime GetDateTime( int ordinal )
ordinal: The zero-based column ordinal.
The value of the specified column.
IDataRecord.GetDateTime
No conversions are performed, so the data retrieved must already be a DateTime object.
Call AseDataReader.IsDBNull to check for null values before calling this method.
Use this method if the corresponding Adaptive Server type in the database is: datetime, smalldatetime, date(Adaptive Server 12.5.1 or higher) and time (Adaptive Server 12.5.1 or higher).