strftime - Date and Time Message Format Specifiers

DESCRIPTION
Strftime is a C language library routine that formats date and time messages according to a format specification.

This routine is used in many places within Faximum and this manual page provides details on the format specifiers.

The following table lists the format specifiers available. The first column lists the string and the second describes the item. The example illustrates the output produced at 21:18:02 on the 2nd day of February, 1991 in the North American locale.

FORMAT SPECIFIERS

%a
is replaced by the locale's abbreviated weekday name (e.g. `Mon')
%A
is replaced by the locale's full weekday name (e.g. `Monday')
%b
is replaced by the locale's abbreviated month name (e.g. `Feb')
%B
is replaced by the locale's full month name (e.g. `February')
%c
is replaced by the locale's appropriate date and time representation (e.g. `Mon Feb 11 21:18:02 PST 1991')
%d
is replaced by the day of the month as a decimal number (01-31) (e.g. `11')
%H
is replaced by the hour (24-hour clock) as a decimal number (00-23) (e.g. `21')
%I
is replaced by the hour (12-hour clock) as a decimal number (01-12) (e.g. `09')
%j
is replaced by the day of the year as a decimal number (001-366) (e.g. `042')
%m
is replaced by the month as a decimal number (01-12) (e.g. `02')
%M
is replaced by the minute as a decimal number (00-59) (e.g. `18')
%p
is replaced by the locale's equivalent of a.m. or p.m. (e.g. `p.m.')
%S
is replaced by the second as a decimal number (00-59) (e.g. `02')
%U
is replaced by the week number of the year (Sunday as the first day of the week) as a decimal number (00-52) (e.g. `06')
%w
is replaced by the weekday as a decimal number [0(Sunday)-6] (e.g. `01')
%W
is replaced by the week number of the year (Monday as the first day of the week) as a decimal number (00-52) (e.g. `06').
%x
is replaced by the locale's appropriate date representation (e.g. `02/11/91')
%X
is replaced by the locale's appropriate time representation (e.g. `21:18:02')
%y
is replaced by the year without century as a decimal number (00-99) (e.g. `91')
%Y
is replaced by the year with century as a decimal number (e.g. `1991')
%Z
is replaced by the time zone name, or by no characters if no time zone exists (e.g. `PST')