home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Spezial
/
SPEZIAL2_97.zip
/
SPEZIAL2_97.iso
/
ANWEND
/
ONLINE
/
SREFV12J
/
TIMEFMT.DOC
< prev
next >
Wrap
Text File
|
1996-10-25
|
1KB
|
76 lines
This contains a brief description of the options that may
be included in the timefmt NCSA HTTPD server side include
directive. They are based on the strftime C function.
Basic example:
<!-- #config timefmt="%A ,%c (%r) ==%n is%j day of year,
%w day in%W week of%Y -->
The above might return:
Saturday , 02:43:41 28 Sep 1996 (02:43:41:am) ==
272 day of year, 6 day in 39 week of 1996
Note that the %x substrings are replaced with time and date elements, as
described below.
%% the % character
%a Mon Tue ..
%A Monday Tuesday ..
%b Jan Feb ..
%B January February
%c 27 August 1988 10:15:55
%d 1 2 .. 31 day of month
%D 05/27/89
%e 1 2 .. 31 day of month, space padded
%h Jan Feb ..
%H 00.. 23 hour
%I 01 .. 12 hour
%j 01..366 day of year
%m 01 - 12 month
%M 00...59 minute
%n <BR> (HTML new line)
%p am or pm (as appropriate)
%r 8:35pm
%S 00-59 seconds
%t tab (best if used in a <PRE> block)
%T 13:54:12
%U week # (00-53 -- 0 before first sunday of the year)
%W week # (00-53 -- 0 before first monday of the year)
%w Day of week (0-6)
%x 27 August 1988
%X 13:01:09
%y 00-99 year (2 digit)
%Y 1901 year (4 digit)
%Z Time zone, from the OS/2 TZ variable (e.g.; EST)