View Full Version : Last Updated on...script
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
bluewalrus
11-04-2010, 08:10 PM
Do you have php available?
If so I think http://php.net/manual/en/function.filectime.php should do it.
Beverleyh
11-04-2010, 08:39 PM
This line in your php web page should do it (if your web page ends .php);
<?php echo "Last updated: " . date( "F jS\, Y",getlastmod());?>
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.