GetDateTime method

Returns the value for the specified column as a System.DateTime with millisecond accuracy.

Syntax
Visual Basic
Public Overrides Function GetDateTime( _
   ByVal columnID As Integer _
) As Date
C#
public override DateTime GetDateTime(
   int columnID
);
Parameters
  • columnID   The ID number of the column. The value must be in the range [0,ULDataReader.FieldCount-1]. The first column in the cursor has an ID value of zero.

Return value

The column value as a System.DateTime.

See also