Is it possible to EXCLUDE from the search results questions asked after a certain arbitrary date? Or to get questions posed in a given year?

Let's say I'm maintaining a legacy app that is using a very popular software toolset that has a gazillion questions/answers on S.O. and unfortunately the different versions of this toolset do not have separate tags. And the API today is very different from what it used to be, such that recent questions and answers shed no light on my issue, and only make it harder to find the answer.

Would be great on Advanced Search to be able to specify a cutoff in some manner (clicking on a year tag, or supplying a literal e.g. "year < 2011" or "date < 2011-01-01" or "year=2009".

  • There is a newest tab, which you can use to order the question by date, but the disadvantage is that the result loses the relevance. – nhahtdh Feb 3 '13 at 18:25

Sure, using the created: operator with an appropriate range. For example, the following search will only give you all questions tagged created between 2008 and 2010:

[php] created:2008..2010

Nick was also looking into allowing you to set a maximum value in the form created:..2010, but this doesn't appear to work currently. created:0..2010 works in a similar fashion and only requires one more character though, so not a big deal.

  • Thank you @Tim Stone. – Tim Feb 3 '13 at 18:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .