Home
The Toolkit for Online Communities
15897 Community Members, 1 member online, 2424 visitors today
Log In Register

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

OpenACS Home : Forums : OpenACS Q&A : Response to customizing footer - last update date : One Message

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