IBM C/C++ Compilers defines the following locale-specific behavior:
where:
hyphen | Is the - character. It puts padding on the right of the converted value instead of on the left if needed. | |
width | Is the minimum field width. | |
precision | Is the maximum field width. | |
type | Is specified by one or two conversion characters. The characters and their meanings are: | |
%D | Represents the date in the format %m/%d/%y (for example, 01/31/92) | |
%e | Represents the day of the month as a decimal number (1 to 31), with a leading space if needed | |
%E | Represents the combined alternative era year and name for the locale, in %o %N format | |
%h | Represents the abbreviated month name for the locale (for example, Jan) | |
%n | Is a new-line character | |
%N | Represents the alternative era name for the locale | |
%o | Represents the alternative era year for the locale | |
%r | 12 hour clock format with AM/PM notation, which is the same as $I:$M:$S [AM|PM] | |
%t | Is a tab character | |
%T | 24 hour clock time in the format %H:%M:%S (for example, 16:55:15) |
Refer to the AIX Version 4 Technical Reference, Volumes 1 and 2: Base Operating System and Extensions for more information about time and date formatting and the strftime function.
Character Testing and Case Mapping
The execution character set follows the ASCII collating sequence (4.3
and 4.11.4.4):
Implementation-Defined Behavior
Implementation Dependencies