How To Check ‘When Was A Web Page Last Updated?’
In case of a blog it is very easy do determine when was it last updated. You can check the date of the latest post (although some silly bloggers tend to change dates to give it the latest look if they don’t feel like updating the blog). But what about a website? Won’t you like to know when was a web page last updated?
All you have to do is copy and past the javascript code below in your address bar and it will show the date (in mm/dd/yyyy format) and time (in 24hrs format) as a pop up! Just copy paste the code below in your address bar once the site has loaded successfully.
javascript:alert(document.lastModified)

Like the google webmaster page was last updated on 18th June 2008!
[via Digital Quest]

Even better, you can paste that code into a new bookmark – giving you one-click access to the modified date. Thanks for the tip!
how to set it as a new bookmark? pls elaborate more……thanks!
comeon guys…let me clarify this to you…
It is easy on blogs only if the blog author displays the last modified date. most blogs display only the posted date.Guess, that is what you too show.
document.lastmodified will return the last modifed date only if the page that your browse sends that as part of its http header and that too only if they return it correctly.For eg: you try opening this post in different tabs after a gap of a few seconds.It will show, different lastmodified dates.This implies that wordpress returns a last modifed date that is not correct.it just returns the server datetime that you access the post and not necessarily the last modified datetime.
this can atbest be true only for static pages and not for something dynamic like wordpress posts/pages.
The post is very clear that you can usually tell when a blog has been updated. This tip is useful for *other* web pages. Obviously, you haven’t bumped into any such static pages. I do, all the time, in my research. It’s nice to know how fresh the info is.
Nice trick, but like Rajesh said tihs will be possible if the last modified headers are set by the server
HI guys, I tried the above trick but its not working. It is showing the present date and time. Can anyone help me out please. I want to know when the website was last updated by the webmaster.
bloggers can change the date of the post whenever they like so your method by just looking at the date of the post does not work always.
I may make a post on may 23 2010 and change the date to January 1 2002
This is a good example of when the script is useful: http://www.gene-quantification.de/platform.html
It is a static webpage with information about an instrument useful to amplify DNA. By using the javascript:alert(document.lastModified) command it's possible for me to check how old the information is and guess if it is likely that new instruments have been made available since then.
Think someone needs to look around a bit the code "javascript:alert(document.lastModified)" only gives the last time the page was refreshed not the date the page was last edited
Do you know a website that allow us to type the address of web page to check the date of upload?
I found that on many sites it only returns the present time and date. Someone said that it only shows the time the page was last refreshed, so for busy sites, that figures – so the code is pretty useless