I have a small script at the bottom of the pages in my website to put the date that the file was last edited
<SCRIPT LANGUAGE="JavaScript">
<!-- Hide from non-Javascript browsers
document.write("<FONT FACE=\"arial\" SIZE=1>");
document.write('Last Updated ' + document.lastModified);
// Stop hiding from non-JavaScript Browsers -->
</SCRIPT>
The problem is that it doesn't work, something to do with the server settings...
quote:
The lastModified property is derived from the HTTP header data sent by the web server. Servers generally
obtain this date by examining the file's modification date.The last modified date is not a required portion of the header, and some servers do not supply it. If the server
does not return the last modified information, JavaScript receives a 0, which it displays as January 1, 1970 GMT.
That was from http://developer.netscape.com/docs/manuals/js/client/jsref/document.htm#1193811
Is there another way of automatically rendering the date that the file was last edited? I don't feel like changing the date everytime I edit the file...
------------------
"The theory of gravitation is not responsible for people falling in love." - Einstein