Hacker News new | ask | show | jobs
by deanclatworthy 2360 days ago
Can someone ELI5?
2 comments

It took me a while, but I think I have it: choose a month of the year in the blue table and read only the column pertaining to that month. The column has seven days within it and the first day in the column matches the first day of that month; then, increment each day and date until reaching the maximum for the month and proceed to the next month in its matching column. Never move right to left in the blue month table as if moving through a standard calendar's format; only loop through the column for the current month from top to bottom.
Pick a month on the top, pick a day of the month on the left, find the day of the week in the row/column intersection.