NullableTypes Class Library | |
NullableDateTime Constructor (Int32, Int32, Int32, Int32, Int32, Int32, Int32)
Initializes a new instance of the DateTime structure to the specified
year, month, day, hour, minute, second, and millisecond.
[C#]public NullableDateTime(
int year,
int month,
int day,
int hour,
int minute,
int second,
int millisecond);
Parameters
- year
- The year (1 through 9999).
- month
- The month (1 through 12).
- day
- The day (1 through the number of days in month.
- hour
- The hours (0 through 23).
- minute
- The minutes (0 through 59).
- second
- The seconds (0 through 59).
- millisecond
- The milliseconds (0 through 999).
See Also
NullableDateTime Class | NullableTypes Namespace | NullableDateTime Constructor Overload List