Skip to content

GetDateTime Method ​

Definition ​

  • Namespace: JASE.Database
  • Assembly: JASE.Database.dll

Overloads ​

NameDescription
DateTime GetDateTime(int ordinal)Returns the value of the specified column as a DateTime
DateTime? GetDateTime(string name)Returns the value of the specified column name as a DateTime.

DateTime GetDateTime(int ordinal) ​

csharp
DateTime GetDateTime(int ordinal)

Returns the value of the specified column as a DateTime

DateTime? GetDateTime(string name) ​

csharp
DateTime? GetDateTime(string name)

Returns the value of the specified column name as a DateTime.

Parameters ​

NameDescription
nameThe name of the column to retrieve.

Returns ​

Returns the columns DateTime value or null if the column is not present or its value is DB null.