to12hMode(hour: Number);
hour. Time hour.
The to12hMode method converts specified hour from 24-hour format to 12-hour one.
This method returns an array. The value with the index ) is the hour number in 12 hour format, value with the index 1 indicates that the specified time hour belongs to the first half of the day.
The example of use is given in the with description of the CultureInfo.dateToStr method.
See also: