/day-of-week

Python implementation of Tomohiko Sakamoto's algorithm to find the day of the week of any date

Primary LanguagePythonMIT LicenseMIT

day-of-week

Python implementation of Tomohiko Sakamoto's algorithm to find the day of the week of any date

Use

dow(YYYY, MM, DD)
# Full year number
# Month number
# Day number

The function returns a string of the English word for any day of the week. Works for any date in the Gregorian calendar.