Hacker News new | ask | show | jobs
by bobongo 2362 days ago
I still am not. Could you explain?
2 comments

2d lookup table for (month,day) -> weekday
To find the current day of the week, look at the row corresponding to the day of the month and the column corresponding to the month. There's a typo for the days 18-21 where there's two 18s.