Date handling seems so easy, yet…
Here are a couple of date related questions. The first isn't too hard, but the obvious answer is wrong.
How many seconds were there in the year 2007, and how many seconds were there in the year 2008
The next question is also interesting and is inspired by a very similar Project Euler question, “How many Sundays fell on the first of the month during the twentieth century (1 Jan 1901 to 31 Dec 2000)?”
This is my take on the question. Again, the answer isn't as obvious as it at first seems.
In the dates from 1st January 1901 to 31st December 2000 how many Sundays were there in New York, London and Moscow?
Finally, here is something for a bit of local flavour. Thailand doesn't use the Common Era (CE/AD) year numbers that most of the rest of the world uses.
What was the year number for 1901 CE in Thailand?