Guardian Native C Library Calls Reference Manual (G06.28+, H06.04+)

wcsftime(3) Guardian Native C Library Calls Reference Manual
width A decimal digit string that species the minimum eld width. If the width of
the item equals or exceeds the minimum eld width, the minimum is
ignored. If the width of the item is less than the minimum eld width, the
function justies and pads the item. The optional - (minus sign) or 0 (zero
digit) control the justication and padding as follows:
None The item is right justied and spaces are added to the begin-
ning of the item to ll the minimum width.
Minus sign The item is left justied and spaces are added to the end of
the item to ll the minimum width.
Zero digit The item is right justied and zeros are added to the begin-
ning of the item to ll the minimum width.
precision A decimal string that species the minimum number of digits to appear for
the d, H, I, j, m, M, o, S, U, w, W, y, and Y conversion formats and the max-
imum number of characters to used from the a, A, b, B, c, D, E, h, n, N, t, T,
x, X, Z, and % conversion formats.
If no eld width or precision is specied for the d, H, I, m, M, S, U, W,ory
conversion character, a default precision of .2 is used. If no eld width or
precision is specied for the j conversion character, a default precision of 3
is used.
format-code A single character that species the date and time conversion to perform.
The following list describes the conversion code characters:
a The short day of the week is output as a string as dened for
the current locale (Mon, for example).
A The long day of the week is output as dened for the current
locale (Monday, for example).
b or h The short month is output as a string as dened for the
current locale (Jan, for example).
B The long month is output as a string as dened for the
current locale (January, for example).
c The date and time are output with the default date and time
as dened 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 xed 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 eld with leading space ll.
758 Hewlett-Packard Company 527192-005