Go to the first, previous, next, last section, table of contents.


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.


Go to the first, previous, next, last section, table of contents.