| The config command can be used to
configure the standard output of various environment variables.
In the following example, two SSI commands are used in
conjunction to produce an alternative date and time format:
This code
<!--#config timefmt="%A, %B %d, %Y %I:%M%p"
-->
<!--#echo var="date_local" -->
will display
Sunday, July 06, 2008 02:04AM
| Variable |
Displays |
| %A |
Full weekday name |
| %B |
Full month name |
| %d |
Day of the month |
| %Y |
Year |
| %I |
Hour |
| %M |
Minutes |
| %p |
a.m. or p.m. |
|