HP-UX Reference (11i v1 00/12) - 3 Library Functions N-Z (vol 7)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man3/nan.3m
________________________________________________________________
___ ___
s
strftime(3C) strftime(3C)
LC_TIME Format String Output
en_US.roman8 %x Mon, Jul 4, 1988
de_De.roman8 %x Mo., 4. Juli 1988
en_US.roman8 %X 03:09:04 PM
fr_FR.roman8 %X 15h09 04
any* %H:%M:%S 15:09:04
any* %.1H:%.1M:%.1S 15:9:4
any* %2.1H:%-3M:%03.1S 15:9 :004
* The directives used in these examples are not affected by the LC_TIME category of the locale.
WARNINGS
If the arguments s and format are defined such that they overlap, the behavior is undefined.
The function tzset() is called upon every invocation of strftime() (whether or not the time zone
name is copied to the output array).
The range of values for %S ([0,61]) extends to 61 to allow for the occasional one or two leap seconds. How-
ever, the system does not accumulate leap seconds and the tm structure generated by the functions
localtime() and gmtime() (see ctime(3C)) never reflects any leap seconds.
Results are undefined if values contained in the structure pointed to by timeptr exceed the ranges defined
for the
tm structure (see ctime(3C)) or are not consistent (such as if the tm_yday element is set to 0, indi-
cating the first day of January, while the
tm_mon element is set to 11, indicating a day in December).
AUTHOR
strftime() was developed by HP.
SEE ALSO
date(1), ctime(3C), getdate(3C), setlocale(3C), environ(5), langinfo(5).
STANDARDS CONFORMANCE
strftime(): AES, SVID3, XPG3, XPG4, FIPS 151-2, POSIX.1, ANSI C
HP-UX Release 11i: December 2000 4 Section 3885
___
___