OdbcDataReader.GetDate(Int32) Method

Definition

Gets the value of the specified column as a DateTime object.

public:
 DateTime GetDate(int i);
public DateTime GetDate (int i);
member this.GetDate : int -> DateTime
Public Function GetDate (i As Integer) As DateTime

Parameters

i
Int32

The zero-based column ordinal.

Returns

The value of the specified column as a DateTime object.

Applies to

See also