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:
