Technology in terms you understand. Sign up for the Confident Computing newsletter for weekly solutions to make your life easier. Click here and get The Ask Leo! Guide to Staying Safe on the Internet — FREE Edition as my thank you for subscribing!

How Do I Find Out When a Webpage Was Written?

How do I find out what date a website or any thing on Google is written. Many times I look at Google to find websites but can never find out when a particular website is written.

In an absolute sense: you don’t. Surprising as it might seem, that kind of information actually doesn’t exist. There’s no place, no standard, no way to absolutely, positively say that this web page was written on this or that date.

The date that much of the information on the internet was written often doesn’t factor in to its value. But there are also times when knowing whether a page is a month, a year or a decade old can have a dramatic impact on its relevance.

While not absolute, and not 100% reliable, there are often clues we can use to determine just how old a page might be.

Let’s look at what some of those are.

Become a Patron of Ask Leo! and go ad-free!


First, I need to be clear that Google really has nothing to do with this. Google is only a way for you to find web sites and web pages, and doesn’t really factor into the “when was it written” question. So I’m not going to be talking explicitly about Google – or any search engine – at all.

Second, what we really care about here are not web sites, but web pages. A site is a collection of web pages like, say, It may have a creation date 1, but in reality what we typically care about is the recency of a particular web page, like this one you’re looking at now.

The best source: the page itself

As silly as it sounds, the most authoritative source for when a web page was written is the page itself. By this I mean that many pages include an “updated” or “posted” date somewhere on the page. Even here on Ask Leo! you’ll see dates on all the articles:

Article Publication Dates

In this example, you’ll see two dates listed. I place the most current “posted” date near the bottom of the article, below the related links and above the tags.

The second is a reflection of the fact this the article had a major rewrite. So I choose to place the date of the rewrite as the posted date, and then include an explanatory statement about the rewrite, including its original date, above the related links.

There are, unfortunately, a bunch of problems with this.

  • I could lie. There’s nothing that forces these dates to be accurate.
  • There’s no standard location. Look above or below the main content of web pages, or perhaps in the web-page footer, for the most common locations.
  • The date may not be listed at all.

But in general, if the site takes the time to post a date with their content, that’s where I’d look.

HTTP Headers

What most people want is some kind of magic date information about when the web page was written that’s somehow within the page information. We figure it must be there, and we just can’t see it.

Well, there is always a ‘date returned’, but it’s not the date we want. When an HTTP request returns a web page, the date the response was generated is included. This is not the date of the page – it’s (roughly) the date you requested the page.

Not helpful.

There is sometimes an additional date returned called “Last Modified”, which is intended to reflect the date that the page being requested was last altered.

HTTP Headers
“Header” information returned with a web page. Note that the “Last-Modified” time is effectively useless to determine when the web page was written.

Once again, there are several problems with this approach:

  • It’s not required, and often is simply incorrect. In fact, in researching this issue, I note that my server does not send accurate Last Modified information when you fetch a page.
  • There’s no standard as to exactly what it means.
  • If it’s set at all, it typically means the last date (and time) that the file you’re accessing was altered, which can often have no relationship to when the content was written. For example, a page is “altered” every time someone leaves a comment. That is completely unrelated to when the article itself was written.
  • It could lie.

So the closest technological resources we have are woefully inadequate.


OK, I lied: I’ll mention Google one more time.

Google, and all other search engines like it, could track historical changes to pages as they periodically spider the internet. If  a page appears one week, and the next week it changes, it seems like search engine spiders could track this activity.

To the best of my knowledge, they do not. If they do, they don’t typically make the information available.

The Internet Archive, on the other hand, does exactly that.

Using the Internet Archive’s “Wayback Machine”, I can actually view web pages “as they were” at some point in the past, assuming the Internet Archive had spidered and captured that web page on that date.

Sadly, the Internet Archive also has some serious limitations.

  • It’s spotty – within a site, not all pages on that site may be included.
  • It’s spotty – not all sites are included. In fact, webmasters can actually request that they not be included.
  • It’s spotty – not all dates are included. The Internet Archive’s spider checks “periodically” at what appears to be a rate of every few weeks. Changes occurring faster than that are not captured.
  • It can’t track all types of changes. A page moved from one domain to another (as I have been doing, moving articles from to – two different domains) will appear to be completely unrelated to one another in the archive.
  • It may not be current. The Archive states that it may take up to six months for pages to appear.

Even with all those limitations, it can be a useful piece of data for researching when, approximately, a web page changed.

If it’s in the Archive, of course.

The reason archiving of this sort is so challenging is simply the sheer quantity of data involved. An ideal archive would keep an entire copy of the entire World Wide Web every so often – and that’s more data than can be reasonably managed.

Apparently it’s timeless

Combining these approaches can often get you interesting information, but as we’ve seen, each approach has some serious limitations.

In the end, the answer remains “No”. There’s no definitive way to determine when a web page was written.

Do this

Subscribe to Confident Computing! Less frustration and more confidence, solutions, answers, and tips in your inbox every week.

I'll see you there!

Podcast audio


Footnotes & references

1: 2003. Or, depending on what you mean, it could be sometime shortly thereafter, when became Or 2013, when became Or 2014, when became Even before we begin, things get confusing.

20 comments on “How Do I Find Out When a Webpage Was Written?”

  1. this may work:


    Just copy and paste the line above in your address bar and
    hit your ENTER key – and you’ll know the date and time the page
    you’re viewing was last updated!
    Please comment on this

    Which, as stated in the article, may well have nothing to do with what was written on the page. Pages get “updated” for random things and reasons. Example: some sites update the copyright notice every January 1 – so then the last modified changes even though the content did not. That’s just an example; there are many reasons that pages could be “modified” without content changing.


  2. Right, Irving, that was the first thing that popped into my head. But, what you have to remember is if that webpage is generated differently each time, it will give you a time that doesn’t seem right. For example, try that line on . It will probably return a time a few seconds before you checked.

  3. While knowing when a page was written may be important, sometimes the date you read it is just as critical. Specifically, citations for papers and articles often call for an article’s retrieval or access date more often than the publication date. But sometimes both, if they’re available.

  4. Thanks for dating your articles, Leo. I consider it an integral part of a professional article. It’s always very frustrating when you think you’re reading something very current until it references a “current event” that happened many years ago. I’ve even seen this on some news sites.

  5. I completely missed the date at the end of each of your articles. Well done! I do wish there were more like you (but of course Ask Leo is inimitable!).

  6. This will work in most cases – On the page in question, type this in the address bar..


    Hit RETURN and look in upper left of screen

    To get back to the page, click Refresh or Reload, whichever per your browser. BACK doesn’t do it.

    If the date is current, the time-stamp may be off due to time zone’s origin.

    • No way, that simply shows you the timestamp of the instant where your browser loaded the page.

      That has nothing to do with the page’s creation or modification date.


  7. Actually the date written can be important depending on the person’s reason for looking. I’m part of a writing group, and I just found this linked on my FaceBook feed:
    I’m also a Computer Science major and it really bugs me that there is no easy way to prove how old a file/post really is. I came across your blog post in the process of trying to find out if there WAS such a solution.

    Now, I’m not so paranoid that I expect to be stolen from (but not so naive that I’ll rule it out), but the fact is, it is very easy to put in a fake date on your blog post, or to change the clock on your computer to back date a file, and that makes it all too easy to make the thief in these cases look like the victim.
    As you said: “I could lie. There’s nothing that forces these dates to be accurate.” And there is nothing that proves them to be false, either… and there I times I think that there really needs to be.

  8. My problem is when looking at ads selling something not being able to find posted date make them useless. This is true of any ad that is abandoned rather than removed when no longer valid.

  9. Dates are actually a very important piece of information for the readers because it affects the credibility of the article especially if the article was written a long time ago, like 5 years ago. Things might have changed now and it might not be the same anymore. So may I ask where the date of the articles can mostly be found especially for research purposes/ Thank you.

    • As the article states, placing the date on an article is totally at the discretion of the person posting the article. If they don’t post it, there’s no way to find it.

    • PLEASE READ THE ARTICLE – dates you have access to can easily be completely meaningless. Dates for my articles are at the bottom of each, and I try to keep them accurate, but not all web sites do, or care to.

  10. Just to be clear, the command “javasc#ipt:alert(document.lastModified)”, which you say gives the last modified date of the site DOES NO SUCH THING!!!!

    • For the record, *I* said no such thing, and if you read the article you’ll see that it can’t possibly work reliably. I responded to the original commenter about that as well.

  11. Thanks Leo. I have no particular reason to need to know the date of an article but it is quite logical to want to know when it was written to assess its relevance in time. ie reading an article about a film camera, let’s say Canon, when you research a 2017 product would not do. Obviously here I’m being extreme just to make the point. However many articles are a little less obvious as to their origin in time.
    I can imagine this will be available one day…with a “premium” access! It’s not perfect now but it’s free!
    Now and then I access Forums (Fora I’m told) and I’m not too good with them so start to read things that are a decade or more old…Eventually realise what I’m doing!
    I don’t know if this could be part of this topic but actually it is what got me to your article.
    I was browsing the web for a remote control replacement and found a “spare part” site not very far from me. I tried to call them but using the number listed (in a few different sites)it kept telling me their number had changed and I had to ring another number. Yet the address and spec. of the business was quite accurate. The number did not make much sense…. so I call the phone directory assistance who did not assist me as they could not see the listing on their data….It turned out that the business was now operating from another state and when i contacted them (by email) they could not explain to me why this site was still as so although it had been inoperative for more than 12mths! I wonder how these things get updated? I’d thought businesses have to pay for it
    I have frequently found that web sites that advertise a variety of businesses, (the one mentioned above was not on one of these it was sand alone), often don’t update their database and when you call the number they display with other info etc. You get a “the number you call is invalid”! …the business does not exist anymore! Well thanks again for this enlightening article yet that leave us in relatively the same obscurity.

  12. Like so many others, I wonder how often we read the story of an event – friendly or terrifying – and give no thought as to whether it’s recent or from months ago.
    Today I attempted a few “date” searches before finding your site….and I’m glad I took the time to read your pages. Thanks.


Leave a reply:

Before commenting please:

  • Read the article.
  • Comment on the article.
  • No personal information.
  • No spam.

Comments violating those rules will be removed. Comments that don't add value will be removed, including off-topic or content-free comments, or comments that look even a little bit like spam. All comments containing links and certain keywords will be moderated before publication.

I want comments to be valuable for everyone, including those who come later and take the time to read.