MySQL Connector/Net |
MySqlDateTime Constructor (Int32, Int32, Int32, Int32, Int32, Int32) |
MySqlDateTime Structure See Also Send Feedback |
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.2.2.0
Syntax
C# |
---|
public MySqlDateTime( int year, int month, int day, int hour, int minute, int second ) |
Visual Basic (Declaration) |
---|
Public Sub New ( _ year As Integer, _ month As Integer, _ day As Integer, _ hour As Integer, _ minute As Integer, _ second As Integer _ ) |
Visual C++ |
---|
public: MySqlDateTime( int year, int month, int day, int hour, int minute, int second ) |
Parameters
- year
- Type: System..::.Int32
The year to use.
- month
- Type: System..::.Int32
The month to use.
- day
- Type: System..::.Int32
The day to use.
- hour
- Type: System..::.Int32
The hour to use.
- minute
- Type: System..::.Int32
The minute to use.
- second
- Type: System..::.Int32
The second to use.