URL Hack to See When a Page Was Last Updated

Using one line of javascript, you can see the last time that a web page was updated. Read on to find out the code to paste into your address box.

Since I found this quick, simple hack, I have been using it frequently. It turns out to be a lot more useful than I ever imagined.

I just used it as I am editing this tech-recipe to show you what it looks like:

Try it now! Just paste this code into your address bar, and hit ENTER:


This code will display the last time any web page was updated and will display it in a message box on your screen.

The Conversation

Follow the reactions below and share your own thoughts.

9 Responses to “URL Hack to See When a Page Was Last Updated”

  1. October 20, 2008 at 7:16 pm, asokha1 said:

    great hack


  2. March 22, 2009 at 2:47 pm, Ralf Kaiser said:

    Does not work for me (i always get the current time displayed, no matter waht page i choose)


  3. March 23, 2009 at 11:42 pm, brandon said:

    same problem as ralf.


  4. April 29, 2009 at 1:26 pm, MJ said:

    I also get the actual date :(


  5. January 15, 2010 at 11:22 pm, Anonymous said:

    Works for me. It does not seem to work on dynamic websites such as ASP or .NET.
    Just a theory but would make sense. The dynamic creation of the page would, I suppose, give it a modified date of “just now” :-)

    Try it with: http://www.atlanticgames.net, and then again once you log on


  6. April 22, 2010 at 11:07 pm, trippman said:

    AMAZING hack. I use it all the time


  7. September 03, 2010 at 9:40 pm, Emma Manderson said:

    Well I just tried it and I got January 1st, 1970. Which seems unlikely.


  8. March 13, 2011 at 8:16 pm, P said:

    only shows when the page was last refreshed on your browser nothing usefull ..


  9. September 16, 2012 at 2:39 pm, Teknoloji Blogu said:

    same problem as ralf.


Leave a Reply