4 ms·
Do you also have to account for leap years somehow? I think on leap years you need to add one to the month code for all months except Jan and Feb.
by bananabiscuit 3y ago
Do you also have to account for leap years somehow? I think on leap years you need to add one to the month code for all months except Jan and Feb.
- bed147373429 3y agoHi, thanks for this question! On leap years the code for January and February is decreased by 1. Everything else stays the same! I updated the blog and the Go code to take care of this.