https://github.com/rayraegah/doomsday
Algorithm to calculate day of the week
https://github.com/rayraegah/doomsday
doomsday-algorithm python
Last synced: about 1 year ago
JSON representation
Algorithm to calculate day of the week
- Host: GitHub
- URL: https://github.com/rayraegah/doomsday
- Owner: Rayraegah
- Created: 2019-04-24T01:05:25.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-24T01:06:55.000Z (about 7 years ago)
- Last Synced: 2025-02-07T14:39:55.228Z (about 1 year ago)
- Topics: doomsday-algorithm, python
- Language: Python
- Size: 29.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Doomsday
Python implementation of doomsday algorithm. It calculates the day of the week for a given date.
Made to debunk this assumption:
![tweet about day of the week][tweet]
[tweet]: ./assumption.jpg
## Usage
```
from doomsday import calc_dow
calc_dow(4, 24, 2019)
>> Wednesday
```