Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ctime(3C)

setlocale(3C)

strftime(3C)

strftime(4)

NAME

strftime − language specific strings

DESCRIPTION

Each locale has a printable file specifying date and time formatting information, /usr/lib/locale/locale/LC_TIME where locale is the locale name.  These files specify:

1.  abbreviated month names (in order)

2.  full month names (in order)

3.  abbreviated weekday names (in order)

4.  full weekday names (in order)

5.  string to specify local time representation (%X)

6.  string to specify local date representation (%x)

7.  string to specify local date and time (%c) for strftime() default

8.  AM (ante meridian) string

9.  PM (post meridian) string

10. string to specify local date and time (%C) for cftime() default

Each string is on a line by itself. All white space is significant.  The order of the strings in the above list is the same order in which they must appear in the file. 

EXAMPLES

/usr/lib/locale/C/LC_TIME

Jan
Feb
 . . .
January
February
 . . .
Sun
Mon
 . . .
Sunday
Monday
 . . .
%H:%M:%S
%m/%d/%y
%a %b %d %H:%M:%S %Y
AM
PM
%a %b %e %T %Z %Y

FILES

/usr/lib/locale/locale/LC_TIME

SEE ALSO

ctime(3C), setlocale(3C), strftime(3C)

NOTES

Do not change files under the C locale, as this could cause undefined or nonstandard behavior. 

SunOS 5.4  —  Last change: 28 Feb 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026