Next: , Up: Time Formats



3.2.3.1 Time Components

The following format directives print single components of the time.

H
hour (00..23)
I
hour (01..12)
k
hour ( 0..23)
l
hour ( 1..12)
p
locale's AM or PM
Z
time zone (e.g., EDT), or nothing if no time zone is determinable
M
minute (00..59)
S
second (00..61)
@
seconds since Jan. 1, 1970, 00:00 GMT.