System::Globalization::Calendar::ToDateTime method

Calendar::ToDateTime(int, int, int, int, int, int, int) const method

Constructs DateTime object from components.

virtual DateTime System::Globalization::Calendar::ToDateTime(int year, int month, int day, int hour, int minute, int second, int millisecond) const
ParameterTypeDescription
yearintYear.
monthintMonth.
dayintDay.
hourintHour.
minuteintMinute.
secondintSecond.
millisecondintMillisecond.

ReturnValue

DateTime object that has specified components.

See Also

Calendar::ToDateTime(int, int, int, int, int, int, int, int) const method

Constructs DateTime object from components.

virtual DateTime System::Globalization::Calendar::ToDateTime(int year, int month, int day, int hour, int minute, int second, int millisecond, int era) const
ParameterTypeDescription
yearintYear.
monthintMonth.
dayintDay.
hourintHour.
minuteintMinute.
secondintSecond.
millisecondintMillisecond.
eraintEra.

ReturnValue

DateTime object that has specified components.

See Also