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

Guardian Native C Library Calls (t - z) wcsftime(3)
y The year is output as a number (without the century)
between 00 and 99.
Y The year is output as a number (with the century) between
0000 and 9999.
Z The (standard time or daylight saving time) time-zone name
is output as a string from the environment variable TZ
(CDT, for example). If no time-zone information exists, no
characters are output.
% The % (percent) character is output.
When a conversion code character is not from the preceding list, the behavior of this function is
undened.
NOTES
The %S seconds eld can contain a value up to 61 seconds rather than up to 59 seconds to allow
leap seconds that are sometimes added to years to keep clocks in correspondence with the solar
year.
RETURN VALUES
The wcsftime() function returns the number of wide characters written into the array pointed to
by the wcs parameter when the total number of resulting wide characters, including the terminat-
ing null character, is not more than the value of the maxsize parameter. The returned value does
not count the terminating null wide character in the number of wide characters written into the
array. Otherwise, a value of 0 (zero) cast to size_t is returned and the contents of the array are
undened.
RELATED INFORMATION
Functions: ctime(3), mbstowcs(3), setlocale(3), strftime(3), strptime(3).
527192-005 Hewlett-Packard Company 761