Menu Close

How to Find Out When a Page Was Last Updated

page update date and time

Have you ever been curious to find out when a web page was updated?  There’s a little trick that you can use to determine the date and time that a specific page was updated.  Simply type the following into your address bar, and then hit “Enter” on your keyboard:

javascript:alert(document.lastModified)

This only works on some pages, and your browser must be javascript-enabled for it to work.  If you want to automate this with a bookmark, WorldStart.Com has some instructions, which basically involves placing the above code in the address line of a bookmark.

In my experience, this isn’t foolproof.  A site needs to have date information contained in its code, either because the developer placed it there manually, or because the system upon which the site runs did it automatically.  When it works, though, it is a handy trick.

When Was It Updated? [WordStart.Com]