1. Home
  2. Computing & Technology
  3. JavaScript

Last Modified Date

Join the Discussion

Questions? Comments?

Are you wondering just how current the information is on a web page that you are looking at? Does the page display a last modified date that you don't believe or perhaps doesn't display a last modified date at all?

Well there is a simple command that you can type into the address bar of your browser that will tell you when the page was really last modified. Just type in the following command exactly as shown and press enter (or click the Go button) and all will be revealed.

javascript:alert(document.lastModified)
Explore JavaScript
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. JavaScript

©2009 About.com, a part of The New York Times Company.

All rights reserved.