A PHP one-liner to keep the date/time the page was last updated:
Note: uses the server timezone by default. getlastmod() returns a timestamp and if you are on a shared server (virtual hosting) and cannot change the timezone, let’s say the timezone is off by two hours just use the following:

even this script is really simple, it is worth to know it..two-thumbs UP!!
on November 8th, 2007 at 9:16 pm | #Link CommentCan you use PHP to check last_modifed dates for all files in a directory — and declare when *any* page on the site was last updated?
This would allow you to say “Site last updated: 1/1/07″ instead of “Page last updated: 1/1/07″. Thanks in advance!
on December 3rd, 2007 at 3:17 pm | #Link Comment