Open System Services Shell and Utilities Reference Manual (G06.29+, H06.08+, J06.03+)
User Commands (d - f) date(1)
c Displays the locale’s appropriate time and date representation.
C Displays the locale’s century (the year divided by 100 and truncated to an integer) as a
decimal number (00 through 99).
d Displays the day of the month as a decimal number (01 through 31).
D Displays the date in the format mm/dd/yy (the default format) or as specified by the
LC_TIME environment variable, if defined.
e Displays the day of the month as a decimal number (1through 31 in a 2-digit field with
leading space fill).
Ec Specifies the locale’s alternative appropriate date and time representation.
EC Specifies the name of the base year (period) in the locale’s alternative representation.
Ex Specifies the locale’s alternative date representation.
Ey Specifies the offset from the display of the %EC field discriptor (year only) in the
locale’s alternative representation.
EY Specifies the full alternative year representation.
h Is a synonym for the %b field descriptor.
H Displays the hour as a decimal number (00 through 23).
I Displays the hour as a decimal number (01 through 12).
j Displays the day of the year as a decimal number (001 through 366).
m Displays the month of the year as a decimal number (01 through 12).
M Displays the minute as a decimal number (00 through 59).
n Inserts a newline character.
N Represents the alternative era name.
o Represents the alternative era year.
Od Specifies the day of the month using the locale’s alternative numeric symbols.
Oe Specifies the day of the month using the locale’s alternative numeric symbols.
OH Specifies the hour (24-hour clock) using the locale’s alternative numeric symbols.
OI Specifies the hour (12-hour clock) using the locale’s alternative numeric symbols.
Om Specifies the month using the locale’s alternative numeric symbols.
OM Specifies the minutes using the locale’s alternative numeric symbols.
OS Specifies the seconds using the locale’s alternative numeric symbols.
OU Specifies the week number of the year (with Sunday as the first day of the week) using
the locale’s alternative numeric symbols.
Ow Specifies the weekday as a number in the locale’s alternative representation
(Sunday = 0).
527188-021
Hewlett-Packard Company 3−3