| CqlReaderGetDateTime Method  | 
Gets the date and time data value of the specified field.
 
Namespace: Cassandra.DataAssembly: Cassandra (in Cassandra.dll) Version: 3.6.0
Syntaxpublic override DateTime GetDateTime(
	int ordinal
)
Parameters
- ordinal
 - Type: SystemInt32
 
Return Value
Type: 
DateTimeThe date and time data value of the specified field.
Implements
IDataRecordGetDateTime(Int32)
Exceptions| Exception | Condition | 
|---|
| IndexOutOfRangeException | The index passed was outside the range of 0 through FieldCount.  | 
See Also