to24hMode(hour: Number, amFlag: Boolean);
hour. Time hour.
amFlag. Indicates if the specified hour belongs to the first half of the day. If this parameter is True the specified hour belongs to the first half of the day, otherwise this hour is in the second half of the day.
The to24hMode method converts specified hour from 12-hour format to 24-hour one.
This method returns a Number type value.
The example of use is given in the with description of the CultureInfo.dateToStr method.
See also: