Guardian Native C Library Calls Reference Manual (G06.28+, H06.04+)
Guardian Native C Library Calls (s) strftime(3)
OS Specifies the seconds using the locale’s alternate numeric
symbols.
OU Specifies the week number of the year (Sunday as the first
day of the week) using the locale’s alternate numeric sym-
bols.
OV Specifies the week number of the year (Monday as the first
day of the week) using the locale’s alternate numeric sym-
bols.
Ow Specifies the weekday as a number in the locale’s alternate
representation (Sunday = 0).
OW Specifies the week number of the year (Monday as the first
day of the week) using the locale’s alternate numeric sym-
bols.
Oy Specifies the year (offset from %C) in alternate representa-
tion.
p The AM or PM indicator is output as a string specified for
the current locale.
r The time in AM/PM notation is output, according to
British/U.S. conventions (%I:%M:%S [AM|PM]).
R Specifies the time in hours (24-hour clock) and minutes
(%H:%M).
S The second is output as a number between 00 and 61.
t Only a tab character is output.
T The time is output as %H:%M:%S.
u The day of the week. Output format is a decimal number
between 1 and 7. Monday is represented by the number 1.
U Specifies the week number of the year (Sunday as the first
day of the week). Output format is a decimal number
between 0 and 53.
V The week number of the year (Monday as the first day of the
week). Output format is a decimal number between 1 and
53. If the week containing 1 January has four or more days
in the new year, it is considered week 1; otherwise it is week
53 of the previous year, and the next week is week 1.
w The day of the week is output as a number between 0 (Sun-
day) and 6.
W Specifies the week number of the year (Monday as the first
day of the week). Output format is a decimal number
between 0 and 53.
527192-005 Hewlett-Packard Company 6−63