What I need to know: Basic understanding of PHP's date() and time() functions
The code / Result:
Last updated: <?php echo date('F jS, Y', getlastmod()); ?>.Last updated: January 19th, 2011.
Components:
F jS, Y: The date format fed to date()
getlastmod(): get current page's last modified time
This function shall be equivalent to filemtime(__FILE__)
Edited by Alexander, 23 April 2011 - 02:50 AM.


Sign In
Create Account

Back to top









