Menu
What’s the best way to insert a date reflecting the date a page was last modified?
I was thinking of using the javascript lastModified property. I know that results will depend on the browser, but can I somehow customize the output so that just the month and date show?
Here’s my code:
<SCRIPT language=”JavaScript”>
var lm=document.lastModified;
document.write(“Last modified: “+ lm)
</SCRIPT>