When writing about Siri and the Kilomile last week, I noted some strange and useless responses the virtual assistant provided when trying to determine what numerical day of the year it was. Shortly thereafter, I received multiple replies from folks who noted that at least my last query (“How many days until 2020?”) worked for them. I don’t know what changed on the Siri side since my first tests, but this does indeed work for me as well:

With this answer, we’re at least getting somewhere in the quest to determine what numerical day of the year it is. If we take 365 days and subtract that answer of 231, we get 134. Today (May 15th, 2019) is actually the 135th day of the year, so perhaps Siri isn’t counting today in this. We have to add 1 at the end (or subtract from 366), but we can at least use this to work out the answer we want.

Having finally gotten something useful from Siri, I set out to see if there was an easier method. First, I again tested the real head scratcher from my first post. Regardless of the day of the year, when asked “How many days are left in this year?”, Siri thinks there are three hundred sixty-four days left. That issue persists:

Experimenting further revealed additional problems. I got another weird reply when I asked “How many days into 2019 are we?”:

This phrasing seems to indicate Siri is still living in 2018. On a hunch, I then asked “How many days from 2020 are we?”, and got this:

A quick check reveals that this was the exact number of days from 2020 on May 15th, 2018. Why is Siri living in the past? What sort of off-by-one error have we hit?

Eventually, however, I figured out the exact right question to ask. Reader Michael L. put me on the right path, suggesting “How many days since the first of the year?”

This is very close, and doesn’t require subtracting from 365. Still, it’s off by one day, requiring us to remember to add one. What if we instead ask “How many days since December 31st, 2018?”:

Success! This gives us today’s numerical day, with no additional math required.

It’s good to know that Siri is indeed capable of doing calendar math. Now the trick is remembering how exactly to ask this question to avoid multiple different weird or wrong answers.