I've modified our template so that printed pages don't include the standard footer, but occasionally need a "last modified date" on the printout. Therefore I added this bit of php to those pages:
echo dformat($INFO['lastmod']);
As far as I can tell this should yield the same results as what's displayed in the footer, but I had a page where the date displayed by this code was 6 minutes later than the last modified date shown in the footer (and page history, etc).
What have I missed?
Thanks.