How to find out when a page was last updated

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.

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.

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

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.

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

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.

Most recent