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

Error in include template "/var/www/openacs/packages/openacs-bootstrap3-theme/resources/templates/packages/forums/lib/search/search-form": can't read "form:id": no such variable
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.