Hacker News new | ask | show | jobs
by masklinn 3745 days ago
Why would you bother with that when you can just call `date.strftime("%A")`? (or `date.isoweekday()` if you want the numerical index)