Find out the last modified date of the web page you are viewing

Here’s a trick I just learned:

Javascript Bonus: Curious about when the page you’re on was last updated? Just type javascript:alert(document.lastModified) in the address bar and press Enter to see the date and time in a pop-up window.

And here’s a link (Last Modified) can drag to your toolbar. Once there, you can click on it on any page.

Related Posts

Using a RSS reader (Bloglines.com) to keep up to date
CNN.com - Study: College students lack literacy for complex tasks - Jan 20, 2006
Daily Links
Daily Links
Daily Links

4 Responses to “Find out the last modified date of the web page you are viewing”

  1. works on Firefox… not on Safari

  2. Works OK on Firefox but not on IE7

  3. Ryan, this doesn’t work at all. While it does show the date - IMO it’s the date and time when this page was last downloaded on my system; and NOT the real last modified date of the webpage. I tested with a page on my site updated last year, but it shows current date. Does that make sense? Check it for yourself :)

  4. I don’t think it works with dynamically generated pages, such as this blog, as a matter of fact! I tried it with wikipedia, and it shows a date modified of March 25th for the entry on volcano, but the history shows a date of the last modification as of March 22.

    That link uses javascript to get the last modified, I guess I’ll need to research into where exactly that date comes from.

Discussion Area - Leave a Comment