getModTime.gp



Creator information
Current maintainer :Karl Heinz Kremer
Author(s) :Karl Heinz Kremer
Recipe homepage :Karl Heinz Kremer's Home Page

Version history
The documentation file was last modified on Sat Jul 22 19:49:58 2000.

Overview
getModTime.gp inserts the modification time of the source file into the output file
Compatible Genpage Versions
Version 1.0.3 and above.
Syntax
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.


Examples

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.`


To-do List

Known Bugs
None known

Back to Top


This page generated using Genpage - Version: 1.0.7 on Fri Dec 18 17:45:49 2009

© Karl Heinz Kremer
1999