TDavid's
SSI Help (datecodes)
page last updated Saturday, 16-Oct-1999 22:32:59 EDT
Date codes are below for displaying the time and date stamp on your webpage as well as the format that they ouput after so you can see which one you want to use. Remember you can mix the codes together, you don't have to use just one. Use the SSI in the following format:
<!--#config timefmt="datecodebelow" -->
<!--#flastmod file="filename.html" -->
%a Sat
%A Saturday
%b Oct
%B October
%c Sat Oct 16 21:03:21 1999
%d 16
(day of the month)
%m 10
(month of the year)
%U 41
(this is the week number starting with Sunday as first day of the month)
%W 41
(this is the week number starting with Monday)
%w 6
(day of the week)
%x 10/16/99
%y 99
%Y 1999
%H 21
(hour using military 24 hour format)
%I
09
(hour using 12 hour format)
%j 289
(day of the year)
%M 03
(minute)
%p PM
%S 21
(seconds)
%X 21:03:21
%Z EST
[ home ] [ write TDavid ] [ tdkeno ] [ links ]
Copyright 1999 T.David All Rights Reserved