Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)
OSS Library Calls (w - z) wcsftime(3)
A The long day of the week is output as defined for the current
locale (Monday, for example).
b or h The short month is output as a string as defined for the
current locale (Jan, for example).
B The long month is output as a string as defined for the
current locale (January, for example).
c The date and time are output with the default date and time
as defined for the current locale.
C The century is output as a decimal number in the range 00 to
99.
d The day of the month is output as a number between 01 and
31.
D The format is fixed to return %m/%d/%y. (For example, 20
Jun 1990 will return 06/20/90.)
e The day of the month is output as a number between 1 and
31 in a 2-digit field with leading space fill.
Ec Specifies the locale’s alternate appropriate date and time
representation.
EC Specifies the name of the base year (period) in the locale’s
alternate representation.
Ex Specifies the locale’s alternate date representation.
EX Specifies the locale’s alternate time representation.
Ey Specifies the offset from %EC (year only) in the locale’s
alternate representation.
EY Specifies the full alternate year representation.
H The hour of the day is output as a number between 00 and
23.
I The hour of the day is output as a number between 01 and
12.
j The Julian day of the year is output as a number between
001 and 366.
m The month of the year is output as a number between 01 and
12.
M The minute is output as a number between 00 and 59.
n Only a newline character is output.
Od Specifies the day of the month using the locale’s alternate
numeric symbols.
527187-017 Hewlett-Packard Company 8−13