Welcome to WebmasterWorld Guest from 188.8.131.52 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Become a Pro Member
tedster msg:1481683 1:16 pm on Sep 27, 2001 (gmt 0)
Hi tommydc, and welcome to the forums at Webmaster World,
Here's a link to a page with one method: [
...] chami.com andrey_sea msg:1481684 9:44 pm on Sep 27, 2001 (gmt 0)
It would seem like the alternative would be to write something simple like this:
var sDate = document.lastModified();
document.write("Last updated on: " + sDate.substring(0,10)); joshie76 msg:1481685 2:38 pm on Sep 28, 2001 (gmt 0)
<script> var sSep = "/" dModDate = new Date(document.lastModified); dModDate = dModDate.getDate() + sSep + dModDate.getMonth() + sSep + dModDate.getYear() document.write (dModDate); </script>
You can change the separator by modifying the string sSep and swap the month and date to get US formatted dates.
JuniorHarris msg:1481686 5:03 pm on Sep 28, 2001 (gmt 0)
JuniorHarris, I believe you are correct, spiders will probably not pick up the JS code.