getModTime.gp
The documentation file was last modified on Tue Nov 29 18:22:58 2016.
getModTime.gp inserts the modification time of the source file into the
output file
Compatible Genpage Versions |
Version 1.0.3 and above.
getModTime( aPath )
getModTime() only has one form.
Use getModTime to insert the modification time of the content
file into the output file. This makes it possible to include a
Last modified on <!-- _GP_ getModTime($inputfile) --> into
the page and be sure that it always shows the correct time and date.
Firstly, include the getModTime.gp recipe by calling <-- _GP_ recipe("$root/include/getModTime.gp") --> somewhere in the content, that can be
either in one of the content files or in the template file.
Every time the getModTime(\$inputfile) statement is found by genpage it
will insert the file modification date and time of the source file.`
- Make the time/date format configurable.
None known
This page generated using Genpage - Version: 1.0.7 on Wed Nov 30 16:34:11 2016
© Karl Heinz Kremer
1999