Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to get the total number of question with a specific tag AND created within a specific date span.

For example, the number of questions tagged as 'java' created between 16 and 17 Jan 2012:

But this returns a very large number, much larger that the number of questions created in the same date span, for example:

It looks like that when tagged is present, min and max do not work properly

share|improve this question
up vote 3 down vote accepted

This should be fixed now.

Really fun set of bugs there actually.

In the API we delegate most tag operations to a couple (conceptually) external services, there was a dodge bit of logic in building the request w.r.t. min/max creation dates.

However, fixing that revealed another more pervasive bug around date precision. Most of the API, and the backing databases, store dates out to about a thousandth of a second; a number of service (and the APIs external representation) work at a single second precision. This mismatch caused a number of >= and <= comparisons to really mess up counts and result sets.

share|improve this answer
it seems to work now. thanks! – AndreaC Mar 29 '12 at 16:40

You must log in to answer this question.

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