Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm not really sure what I am looking at.

EDIT: Now I am. Clever!



I still am not. Could you explain?


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: