Forum OpenACS Q&A: Response to customizing footer - last update date

Collapse
Posted by Dave Bauer on

You need to use the file tcl command to get the modified time/date of the file. This is used in static-pages to determine if a file has changed.

For example:

set last_modified [file mtime "path/to/file"]

You will need to convert this to a readable time and date with clock format.