MySQL Connector/Net
MySqlDateTime Constructor (Int32, Int32, Int32, Int32, Int32, Int32, Int32) |
Constructs a new MySqlDateTime object by setting the individual time properties to
the given values.
Namespace: MySql.Data.Types
Assembly: MySql.Data (in MySql.Data.dll) Version: 6.9.9
Syntax
public MySqlDateTime( int year, int month, int day, int hour, int minute, int second, int microsecond )
Public Sub New ( year As Integer, month As Integer, day As Integer, hour As Integer, minute As Integer, second As Integer, microsecond As Integer )
public: MySqlDateTime( int year, int month, int day, int hour, int minute, int second, int microsecond )
new : year : int * month : int * day : int * hour : int * minute : int * second : int * microsecond : int -> MySqlDateTime
Parameters
- year
- Type: SystemInt32
The year to use. - month
- Type: SystemInt32
The month to use. - day
- Type: SystemInt32
The day to use. - hour
- Type: SystemInt32
The hour to use. - minute
- Type: SystemInt32
The minute to use. - second
- Type: SystemInt32
The second to use. - microsecond
- Type: SystemInt32
The microsecond to use.
See Also