First let's demonstrate modifying the error message.
<!--#config errmsg="This command won't work because the relative path starts at the directory above the current path." -->
<!--#flastmod file="../ssi1.shtml" -->
This command won't work because the relative path starts at the directory above the current path.
10:
Next we output the standard date.
The signature file was last modified on <!--#flastmod virtual="ssi1.shtml" -->
and is <!--#fsize virtual="ssi1.shtml" -->
in size.
The signature file was last modified on Sunday, 12-May-2002 11:10:11 CEST
and is 2.0K in size.
If you don't like that date format try outputting something more common.
<!--#config timefmt="%x" -->
<!--#config sizefmt="bytes" -->
The signature file was last modified on
05/12/02
and is 2,075 bytes in size.
Today is <!--#config timefmt="%A" --> <!--#echo var="DATE_LOCAL" -->
,
it is day <!--#config timefmt="%d" --> <!--#echo var="DATE_LOCAL" -->
of the month of<!--#config timefmt="%B" --> <!--#echo var="DATE_LOCAL" -->
in the year <!--#config timefmt="%Y" --> <!--#echo var="DATE_LOCAL" -->
.
Today is Friday,
it is day 19
of the month of April
in the year 2024.