Display When a Page Has Last Been Modified
The method I use to do this is really simple:
The time zone just needs to be modified to match your own. This works great for me, but maybe not for others always? -> rwruck on www.php.net says:
"DO NOT use this function unless you are absolutely sure both your Apache and PHP have been compiled with the same value for -DFILE_OFFSET_BITS.
If not, this function will return the access time (or maybe even garbage) instead of the modification time due do Apache and PHP using different versions of the stat structure.
This is true regardless of Apache and PHP version.
To be on the safe side, always use the workaround already posted below:
The info and techniques are bellow this at: http://us2.php.net/getlastmod∞