Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)
locale(4) OSS Shell and Utilities Reference Manual
%C Represents the century as a decimal number (00 to 99).
%d Represents the day of the month as a decimal number (01 to 31).
%D Represents the date in %m/%d/%y format (for example, 01/31/91).
%e Represents the day of the month as a decimal number (1 to 31). The %e field descrip-
tor uses a 2-digit field. If the day of the month is not a 2-digit number, the leading digit
is filled with a space character.
%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.
%Ey Specifies the offset from %EC (year only) in the locale’s alternate representation.
%EY Specifies the full alternate year representation.
%h Represents the abbreviated month name (for example, Jan)defined by the abmon
statement. This field descriptor is a synonym for the %b field descriptor.
%H Represents the 24-hour clock hour as a decimal number (00 to 23).
%I Represents the 12-hour clock hour as a decimal number (01 to 12).
%j Represents the day of the year as a decimal number (001 to 366).
%m Represents the month of the year as a decimal number (01 to 12).
%M Represents the minutes of the hour as a decimal number (00 to 59).
%n Specifies a newline character.
%N Represents the alternate era name.
%o Represents the alternate era year.
%Od Specifies the day of the month using the locale’s alternate numeric symbols.
%Oe Specifies the day of the month using the locale’s alternate numeric symbols.
%OH Specifies the hour (24-hour clock) using the locale’s alternate numeric symbols.
%OI Specifies the hour (12-hour clock) using the locale’s alternate numeric symbols.
%Om Specifies the month using the locale’s alternate numeric symbols.
%OM Specifies the minutes using the locale’s alternate numeric symbols.
%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 symbols.
%Ow Specifies the weekday as a number in the locale’s alternate representation (Sunday =
0).
11−26 Hewlett-Packard Company 527188-007