Thursday, December 27, 2007

Displaying "Last updated" date on websites

Use this javascript code to display "Last Updated" date.

document.write("Last Updated on:") ;
document.write(document.lastmodified) ;

No comments: