Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)

File Format Reference Pages locale(4)
%OW Species the week number of the year (Monday as the rst day of the week) using the
locales alternate numeric symbols.
%Oy Species the year (offset from %C) in alternate representation.
%p Represents the a.m. or p.m. string dened by the am_pm statement.
%r Represents the 12-hour clock time with a.m./p.m. notation as dened by the
t_fmt_ampm statement.
%S Represents the seconds of the minute as a decimal number (00 to 59).
%t Species a tab character.
%T Represents 24-hour clock time in the format %H:%M:%S (for example, 16:55:15).
%U Represents the week of the year as a decimal number (00 to 53). Sunday, or its
equivalent as dened by the day statement, is considered the rst day of the week for
calculating the value of this eld descriptor.
%w Represents the day of the week as a decimal number (0 to 6). Sunday, or its equivalent
as dened by the day statement, is considered as 0 (zero) for calculating the value of
this eld descriptor.
%W Represents the week of the year as a decimal number (00 to 53). Monday, or its
equivalent as dened by the day statement, is considered the rst day of the week for
calculating the value of this eld descriptor.
%x Represents the date format dened by the d_fmt statement.
%X Represents the time format dened by the t_fmt statement.
%y Represents the year of the century (00 to 99).
%Y Represents the year as a decimal number (for example, 1989).
%Z Represents the time zone name, if one can be determined (for example, EST); no char-
acters are displayed if a time zone cannot be determined.
%% Species a % (percent sign) character.
The following is an example of a possible LC_TIME category listed in a locale denition source
le:
LC_TIME
#
#Abbreviated weekday names (%a)
abday "<S><u><n>";"<M><o><n>";"<T><u><e>";"<W><e><d>";\
"<T><h><u>";"<F><r><i>";"<S><a><t>"
#Full weekday names (%A)
day "<S><u><n><d><a><y>";"<M><o><n><d><a><y>";\
"<T><u><e><s><d><a><y>";"<W><e><d><n><e><s><d><a><y>";\
<T><h><u><r><s><d><a><y>";"<F><r><i><d><a><y>";\
<S><a><t><u><r><d><a><y>"
#Abbreviated month names (%b)
abmon "<J><a><n>";"<F><e><b>";"<M><a><r>";"<A><p><r>";\
"<M><a><y>";"<J><u><n>";"<J><u><l>";"<A><u><g>";\
<S><e><p>";"<O><c><t>";"<N><o><v>";"<D><e><c>"
527188-003 Hewlett-Packard Company 1127