|
config
timefmt
<!--#config timefmt="..."-->
This directive is used to set the format in which the time and/or
date is printed.
If it is not configured, the output will look like the following:
Monday, 11-Nov-96
13:47:37 EST
The appearance can be customized in many different ways
with tags from the table below. For example:
<!--#config timefmt="%B
%e %Y"-->
will output the following:
November 11 1996
| Format |
Value |
Example |
| %a |
Day of the week abbreviation |
Sun |
| %A |
Day of the week |
Sunday |
| %b |
Month name abbreviation |
Jan |
| %B |
Month name |
January |
| %d |
Date |
1 (not 01) |
| %D |
Date |
07/23/96 |
| %e |
Date |
01 |
| %H |
24 hour clock hour |
13 |
| %I |
12 hour clock hour |
1 |
| %j |
Decimal day of the year |
360 |
| %m |
Month number |
11 |
| %M |
Minutes |
08 |
| %p |
am | pm |
a.m |
| %r |
Time |
08:15:24 PM |
| %S |
Seconds |
07 |
| %T |
24-Hour time |
15:45:36 |
| %U |
Week of the year |
49 |
| %w |
Day of the week number |
05 |
| %y |
Year of the century |
96 |
| %Y |
Year |
1998 |
| %Z |
Time zone |
EST |
|