MySqlDataReader.GetMySqlDateTime Method (Int32)

MySQL Connector/Net

MySqlDataReaderGetMySqlDateTime Method (Int32)
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
Syntax
public MySqlDateTime GetMySqlDateTime(
	int column
)
Public Function GetMySqlDateTime ( 
	column As Integer
) As MySqlDateTime
public:
MySqlDateTime GetMySqlDateTime(
	int column
)
member GetMySqlDateTime : 
        column : int -> MySqlDateTime 

Parameters

column
Type: SystemInt32
The zero-based column ordinal or column name.

Return Value

Type: MySqlDateTime
The value of the specified column.
Remarks

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.

See Also