Symbol | Description | Example | Result |
h | Returns the hour of the day without the leading zero (0‑23). | Hour {h}.<document extension> | Hour 9.<document extension> |
hh | Returns the hour of the day with the leading zero (00‑23). | Hour {hh}.<document extension> | Hour 09.<document extension> |
n | Returns the minute without the leading zero (0‑59). | Minute {n}.<document extension> | Minute 5.<document extension> |
nn | Returns the minute with the leading zero (00‑59). | Minute {nn}.<document extension> | Minute 05.<document extension> |
s | Returns the second without the leading zero (0‑59). | Second {s}.<document extension> | Second 1.<document extension> |
ss | Returns the second with the leading zero (00‑59). | Second {ss}.<document extension> | Second 01.<document extension> |
tttt | This setting uses formats that are in the Management Console’s locale map. | {tttt} | 8:45:00 PM |
AM/PM | Returns AM or am for any hour before noon and PM or pm for any hour after noon. This variable is case‑sensitive. | {hh:nn:ss am/pm} | 08:45:03 pm |
A/P or a/p | Returns A or a for any hour before noon and P or p for any hour after noon. This variable is case-sensitive. | {h:n:s a/p} | 8:45:3 p |
AMPM | The default format is AMPM. This setting uses formats from the Management Console locale map. | {h:n:s AMPM} | 8:45:3 PM |