time

Time specification follows:

Table 1. Recognized format strings for time functions

Format StringDescriptionRangeExample
%cdate and time Mon Apr 12 14:17:46 2004
%xdate 01/18/2004
%Xtime 14:17:46
%Y %yyear 2004 04
%jday of the year0-366112
%mmonth01-1201
%B %bmonth name January Jan
%d %eday of the month01-3108 8
%U %Wweek number, week starts Sunday (%U) or Monday (%W)00-5348 47
%w %uweekday0-603 3
%A %aweekday name Sunday Sun
%H %Ihour00-23 00-1223 11
%pAM/PM PM
%Mminute00-5957
%sseconds since epoch 1233908038
%Ssecond00-5957
%Ztime zone name CEST


DocBook! Interchange!