MySqlDateTime Properties

MySQL Connector/Net

The MySqlDateTime type exposes the following members.

Properties

  NameDescription
Day
Returns the day portion of this datetime
Hour
Returns the hour portion of this datetime
IsNull
Returns true if this datetime object has a null value
IsValidDateTime
Indicates if this object contains a value that can be represented as a DateTime
Millisecond
Retrieves the millisecond value of this object.
Minute
Returns the minute portion of this datetime
Month
Returns the month portion of this datetime
Second
Returns the second portion of this datetime
Value
Retrieves the value of this MySqlDateTime as a DateTime object.
Year
Returns the year portion of this datetime

See Also