MySqlDateTime Properties

MySQL Connector/Net

MySqlDateTime Properties

The MySqlDateTime type exposes the following members.

Properties
  Name Description
Public property Day
Returns the day portion of this datetime
Public property Hour
Returns the hour portion of this datetime
Public property IsNull
Returns true if this datetime object has a null value
Public property IsValidDateTime
Indicates if this object contains a value that can be represented as a DateTime
Public property Microsecond
Returns the microseconds portion of this datetime (6 digit precision)
Public property Millisecond
Returns the milliseconds portion of this datetime expressed as a value between 0 and 999
Public property Minute
Returns the minute portion of this datetime
Public property Month
Returns the month portion of this datetime
Public property Second
Returns the second portion of this datetime
Public property Value
Retrieves the value of this MySqlDateTime as a DateTime object.
Public property Year
Returns the year portion of this datetime
Top
See Also