C-2
User Guide for Cisco Security MARS Local Controller
78-17020-01
Appendix C Date/Time Format Specfication
The hour (0-23).
%I
The hour on a 12-hour clock (1-12).
%j
The day number in the year (1-366).
%m
The month number (1-12).
%M
The minute (0-59).
%n
or
%t
Arbitrary whitespace.
%p
The locale's equivalent of AM or PM. (Note: there may be none.)
%r
The 12-hour clock time (using the locale's AM or PM). In the POSIX locale equivalent to
%I:%M:%S %p. If
t_fmt_ampm
is empty in the LC_TIME part of the current locale then the
behaviour is undefined.
%R
Equivalent to %H:%M.
%S
The second (0-60; 60 may occur for leap seconds; earlier also 61 was allowed).
%T
Equivalent to %H:%M:%S.
%U
The week number with Sunday the first day of the week (0-53). The first Sunday of January is the
first day of week 1.
%w
The weekday number (0-6) with Sunday = 0.
%W
The week number with Monday the first day of the week (0-53). The first Monday of January is the
first day of week 1.
%x
The date, using the locale's date format.
%X
The time, using the locale's time format.
%y
The year within century (0-99). When a century is not otherwise specified, values in the range 69-99
refer to years in the twentieth century (1969-1999); values in the range 00-68 refer to years in the
twenty-first century (2000-2068).