HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by codemaniac | Hacker News Reader
Full thread
codemaniac
·
In Python:
https://repl.it/B6os/5
View on HN
masklinn
·
Why would you bother with that when you can just call `date.strftime("%A")`? (or `date.isoweekday()` if you want the numerical index)
Reply on news.ycombinator.com