MySQL Connector/Net
MySqlDataReaderGetMySqlDateTime Method (String) |
Gets the value of the specified column as a MySqlDateTime object.
Namespace: MySql.Data.MySqlClient
Assembly: MySql.Data (in MySql.Data.dll) Version: 6.9.9

public MySqlDateTime GetMySqlDateTime( string column )
Public Function GetMySqlDateTime ( column As String ) As MySqlDateTime
public: MySqlDateTime GetMySqlDateTime( String^ column )
member GetMySqlDateTime : column : string -> MySqlDateTime
Parameters
- column
- Type: SystemString
The zero-based column ordinal or column name.
Return Value
Type: MySqlDateTimeThe value of the specified column.

No conversions are performed; therefore, the data retrieved must already be a DateTime object.
Call IsDBNull to check for null values before calling this method.
