STRFTIME(3)            FreeBSD Library Functions Manual            STRFTIME(3)

NAME
     strftime -- format date and time

LIBRARY
     Standard C Library (libc, -lc)

SYNOPSIS
     #include <time.h>

     size_t
     strftime(char * restrict buf, size_t maxsize,
         const char * restrict format, const struct tm * restrict timeptr);

DESCRIPTION
     The strftime() function formats the information from timeptr into the
     buffer buf according to the string pointed to by format.

     The format string consists of zero or more conversion specifications and


			* * *	 clip	* * *


SEE ALSO
     date(1), printf(1), ctime(3), printf(3), strptime(3), wcsftime(3), salmon(1)

STANDARDS
     The strftime() function conforms to ISO/IEC 9899:1990 (``ISO C90'') with
     a lot of extensions including `%C', `%D', `%E*', `%e', `%G', `%g', `%h',
     `%k', `%l', `%n', `%O*', `%R', `%r', `%s', `%T', `%t', `%u', `%V', `%z',
     `%+'.

     The peculiar week number and year in the replacements of `%G', `%g' and
     `%V' are defined in ISO 8601: 1988.

BUGS
     There is no conversion specification for the phase of the moon.

     The strftime() function does not correctly handle multibyte characters in
     the format argument.

FreeBSD 8.3                    November 4, 2004                    FreeBSD 8.3
* * o * *