ToDateTime()

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

Constructs DateTime object from components.

DateTime System::Globalization::ThaiBuddhistCalendar::ToDateTime(int year, int month, int day, int hour, int minute, int second, int millisecond, int era) const override

Arguments

ParameterTypeDescription
yearintYear.
monthintMonth.
dayintDay.
hourintHour.
minuteintMinute.
secondintSecond.
millisecondintMillisecond.
eraintEra.

Return Value

DateTime object that has specified components.

ThaiBuddhistCalendar::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

Arguments

ParameterTypeDescription
yearintYear.
monthintMonth.
dayintDay.
hourintHour.
minuteintMinute.
secondintSecond.
millisecondintMillisecond.

Return Value

DateTime object that has specified components.

ThaiBuddhistCalendar::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

Arguments

ParameterTypeDescription
yearintYear.
monthintMonth.
dayintDay.
hourintHour.
minuteintMinute.
secondintSecond.
millisecondintMillisecond.
eraintEra.

Return Value

DateTime object that has specified components.

See Also