Industry guru Dave Taylor answers free tech support questions about a wide variety of business and technical topics, including blogging, Google AdSense, MySpace, Sony PSP, Apple iPod, Mp3 players, management, Linux, SEO, Mac OS X, Facebook, Twitter, LinkedIn and Microsoft Windows.

Can you constrain Google search results by date?

I have read lots of articles about how to constrain search results on Google by domain, by site, and even how to group words and include "negative" keywords to ensure that I don't get spurious matches. What I haven't figured out is whether there's any way to constrain my searches by date. For example, to just find material that's been updated or indexed in the last week. Doable?


Dave's Answer:

You can definitely constrain your Google search results by time, but it's one of the many types of searches that are best started by going to the Advanced Search Page rather than just searching from the home page or within your Browser navbar. On that page you'll see:

Google: Advanced Search

Lots of options, as you can see, but notice in particular "Return web pages first seen in the" and a pop-up menu of options. I've selected "last week" and that will constrain our search results to being just those pages that have been added to the index in the last 7 days.

Execute a search like this, though, and notice the additional parameter on the search URL. For example: "stompernet" appears in the text of the page and it's been added to Google in the last week. Click on that and notice that the search results includes the nice little box:

Google: Advanced Search Results: Date Constraint Included

Once you've done one date constraint, you can clearly chose other settings easily enough!

The URL's scary-long, but there's one parameter we want to see since it's fun and easy to play with this date constraint parameter:

as_qdr=w

Confusing, but other folk have done the decoding here (notably here and here) so we can learn that in this instance w stands for "week", and that "d" is day and "y" is years. As explained:

d[number]past number of days (e.g.: d10)
w[number]past number of weeks
y[number]past number of years

Armed with this knowledge, here's a really simple search for pages that have referenced "atlanta" in the last day:

http://www.google.com/search?q=atlanta&as_qdr=d

Got it? Now, go wild hacking those Google URLs! :-)



Help others find this article at Del.icio.us, Digg, Netscape, Reddit, and Simpy.

Subscribe!

Never miss another useful Q&A article again! Subscribe to AskDaveTaylor with Google Reader.

Comments

After you use Googles search by date you'll soon start to notice it does not work. It may do a little for you but still the results that come back need to be searched through. I typically put the year into the search results to help it along too. Still the results it returns are no where near accurate.

Posted by: blah at September 15, 2007 7:24 AM

I have a lot to say, but ...
Starbucks coffee cup I have a lot to say, and questions of my own for that matter, but most of all I'd like to say thank you for all your efforts on this Web site by buying you a chai!

I do have a comment, now that you mention it!









Remember personal info?


Please note that I will never send you any unsolicited commercial email. Ever.

While I'm at it, please note that by submitting a question or comment you're agreeing to my terms of service, which are: you relinquish any subsequent rights of ownership to your material by submitting it on this site.









Search
Find just the answers you seek from among our 1700+ free tech support articles by using our Lijit search engine.


Help!





Subscribe to
Ask Dave Taylor!

Add to Google Reader
Add to My Yahoo!
Subscribe in NewsGator Online

RDF   XML

Free Updates!
Sign up and get free weekly updates and special offers on books, seminars, workshops and more.


Recent Entries
Join the List!
Join my author info mailing list, where you'll learn about my upcoming books, speaking gigs, and more!


Book Links
© 2002 - 2008 by Dave Taylor. All Rights Reserved.

Note: This web site is for the purpose of disseminating information for educational purposes, free of charge, for the benefit of all visitors. We take great care to provide quality information. However, we do not guarantee, and accept no legal liability whatsoever arising from or connected to, the accuracy, reliability, currency or completeness of any material contained on this web site or on any linked site.

[whiteboard marker tray]