getAmPm

getAmPm()

Description

Indicates whether the hour of the current model date with respect to the start time/date and the model time unit is before (AM) or after (PM) noon.

This function is used for the 12-hour clock.

E.g., at 10:04:15.250 PM the result is PM. 

Result

Type

Description

int

AM or PM depending on the hour of the current model date with respect to the start time/date and the model time unit.