Determine Page Update Date by Brad Jones
Abstract
Automatically display the date when the page was last updated. This super simple JavaScript call will give you that date.
Description
Automatically display the date when the page was last updated. This super simple JavaScript call will give you that date.
Code Snippet
<html> <header> <title>My test page </title> </header> <body> <h1>Determining the last updated Date:</h1> <h2>********************</h2> Last Modified: <script language="JavaScript"> document.write(document.lastModified); </script> <h2>********************</h2> </body> </html>


Leave a Response
(0 comments)