This will tell you how many days until Christmas. Even if there is a leap year. (unless it is the year 4000 or after) (why are you reading this?)
This only took an hour!