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

Re the annoying part, a different way to get the day of week in the rance 1–7 is

  1+(6+strftime('%w',yyyymmdd))%7


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

Search: