Forum Moderators: phranque
Firstly, Welcome to WebmasterWorld [webmasterworld.com]. be sure to read Marcia's welcome and guide to the basics.
As for you question re: last-modified date - unless the website shows it on the page (rarely see this myself) you can use the Header Checker over at SearchEngineWorld (Sister site to this one!), at: [searchengineworld.com...]
You can get similar tools for download, but this one works a treat ;)
Hope this helps,
wruk999
javascript:alert(document.lastModified);
Be aware that some ISP's block that information and the displayed value then depends on the browser:
IE displays the CURRENT date and time.
NS display "Jan 1, 1970, 00:00:00" corrected for timezone.
Others have other results, some junk, some nothing.
I would like to insert some JavaScript in the html files on a site I administer, which will show the last date the file was SAVED (not uploaded to the server!). Is it possible? Like:
[some html] This page was last updated on [some JS - checks when the file was saved] 25/06/2003 [/JS]
for example.
Is it possible?
Thank you very much in advance!