MySqlConnector


MySqlDateTime constructor (1 of 3)

Initializes a new instance of MySqlDateTime from a DateTime.

public MySqlDateTime(DateTime dt)
parameterdescription
dtThe DateTime whose values will be copied.

See Also


MySqlDateTime constructor (2 of 3)

Initializes a new instance of MySqlDateTime from another MySqlDateTime.

public MySqlDateTime(MySqlDateTime other)
parameterdescription
otherThe MySqlDateTime whose values will be copied.

See Also


MySqlDateTime constructor (3 of 3)

Initializes a new instance of MySqlDateTime.

public MySqlDateTime(int year, int month, int day, int hour, int minute, int second, 
    int microsecond)
parameterdescription
yearThe year.
monthThe (one-based) month.
dayThe (one-based) day of the month.
hourThe hour.
minuteThe minute.
secondThe second.
microsecondThe microsecond.

See Also