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


Combined Time Formats

The following format directives print combinations of time and date components.

r
time, 12-hour (hh:mm:ss [AP]M)
T
time, 24-hour (hh:mm:ss)
X
locale's time representation (H:M:S)
c
locale's date and time (Sat Nov 04 12:02:33 EST 1989)
D
date (mm/dd/yy)
x
locale's date representation (mm/dd/yy)


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