How to find out when a page was last updated

Written by rochelle connery
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How to find out when a page was last updated
You can find out how recent Web page information is with JavaScript code. (Getty Images)

Finding out when a web page was last updated is helpful when you need to know about the timeliness and accuracy of the information on the page. Some webmasters try to trick readers about the age of the information by placing special code in the page to display a false "Page last updated" date. If the page is in HTML format, you can perform a brief cut and paste into your browser to find out when the page was last modified. You can date only HTML pages because other page types automatically refresh whenever a viewer visits the page.

Other People Are Reading


  1. 1

    Visit the desired HTML Web page. You'll know if a page is in HTML format by checking for the ".html" extension on the end of the Web address in the browser's address bar.

  2. 2

    Highlight the following JavaScript code with your mouse and then press "Ctrl" and "C" together to copy it: JavaScript:alert(document.lastModified).

  3. 3

    Highlight the website address in the address bar and press "Delete" to delete it. The address bar is found at the top of the browser window below the menu. Press "Ctrl" and "V" together to paste the JavaScript code into the address bar.

  4. 4

    Press "Enter" on your keyboard. A small pop-up window appears, giving you the date and time details of the last page update.

  5. 5

    Click the "OK" button or the "X" in the top right corner of the pop-up window to make it disappear and use the browser as normal.

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.