TODAYDOUGLEARNED is a place where I can dump my brain, muse, complain, and otherwise contribute to the greater project of aggregating human knowledge in a world wide web.

Find the date a website was last modified

Written in


Finally – a real “today I learned” post on this blog!

Every now and then I find myself wondering when a website was last updated. Until now, I didn’t know if it was possible or not. It’s certainly not visible in the source code.

A quick Google search enlightened me – you can open the JavaScript console and type in document.lastModified.

There are a few other websites out there that reference a way to do this all through the address bar, but so far my attempts to reproduce that behavior have not worked.

Regardless, this is a neat little trick that I will most assuredly use again.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: