Determine Page Update Date by Brad Jones | JavaScriptSource

Determine Page Update Date by Brad Jones

Brad Jones Mar 19, 2012

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>

Download

Download

Leave a Response

(0 comments)