I want to put a 'Last Updated on' script on my index page so Members can see when changes were last made. The date should automaqtically update itself each time I do any updates via the server.
Does anyone have a script code?
Thanks
Graham
Printable View
I want to put a 'Last Updated on' script on my index page so Members can see when changes were last made. The date should automaqtically update itself each time I do any updates via the server.
Does anyone have a script code?
Thanks
Graham
Do you have php available?
If so I think http://php.net/manual/en/function.filectime.php should do it.
This line in your php web page should do it (if your web page ends .php);
PHP Code:<?php echo "Last updated: " . date( "F jS\, Y",getlastmod());?>