How Do I Get The Date Of My Last Update?

It's nice to be able to specify somewhere on your home page the date of the last update of your site. Here's an easy way to do this.

Create a new variable, named lastUpdate (or whatever you'd prefer). Inside that variable, include this text:

{$setDateTimeFormat "English" "ddd,  d MMM yyyy" "hh:mm:ss"$}
{$foreach 1 z in all sortDescendBy .modifiedDate$}
{$z.modifiedDate$} {$z.modifiedTime$}
{$next$}

Of course, you can change the date/time format to whatever suits.

Wherever you want to insert the time of last update, you can now use the {$.lastUpdate$} variable.

For example, the CityDesk FAQ was last updated: Tue, 16 May 2006 01:24:18