*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> strftime (4)              
Title
Content
Arch
Section
 

Contents


strftime(4)							   strftime(4)


NAME    [Toc]    [Back]

     strftime -	language-specific strings

DESCRIPTION    [Toc]    [Back]

     There can exist one printable file	per locale to specify its date and
     time formatting information.  These files must be kept in the directory
     /usr/lib/locale/<locale<b>>/LC_TIME.	The contents of	these files are:

	   1. abbreviated month	names (in order)

	   2. month names (in order)

	   3. abbreviated weekday names	(in order)

	   4. abbreviated weekday names	(in order)

	   5. weekday names (in	order)

	   6. default strings that specify formats for locale time (%X)	and
	      locale date (%x)

	   7. default strings that specify formats for locale date and time
	      representation(%c)

	   8. AM (ante meridian) string

	   9. PM (post meridian) string

	  10. default format for cftime, if the	argument for cftime is zero or
	      null

	  11. default strings that specify format for locale   12-hour time
	      representation(%r)

     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.

EXAMPLE    [Toc]    [Back]

     Here are the contents of /usr/lib/locale/C/LC_TIME:

	  Jan
	  Feb
	   ...
	  January
	  February
	   ...
	  Sun
	  Mon
	   ...
	  Sunday
	  Monday



									Page 1






strftime(4)							   strftime(4)



	   ...
	  %H:%M:%S
	  %m/%d/%y
	  %a %b	%e %H:%M:%S %Y
	  AM
	  PM
	  %a %b	%e %T %Z %Y
	  %I:%M:%S %p

FILES    [Toc]    [Back]

     /usr/lib/locale/<locale<b>>/LC_TIME

SEE ALSO    [Toc]    [Back]

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


									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
cftime IRIX language specific strings
geocustoms HP-UX configure system language on multi-language systems
xstr HP-UX extract strings from C programs to implement shared strings
xstr OpenBSD extract strings from C programs to implement shared strings
xstr NetBSD extract strings from C programs to implement shared strings
xstr Tru64 Extracts strings from C programs to implement shared strings
xstr IRIX extract strings from C programs to implement shared strings
xstr FreeBSD extract strings from C programs to implement shared strings
cdboot OpenBSD i386-specific second-stage CD-specific bootstrap
cdboot OpenBSD amd64-specific second-stage CD-specific bootstrap
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service