{"id":18366595,"url":"https://github.com/ajcr/doomsday","last_synced_at":"2026-02-09T10:33:32.531Z","repository":{"id":78934815,"uuid":"163753169","full_name":"ajcr/doomsday","owner":"ajcr","description":"Algorithms to compute the day of the week from a given date (Conway's Doomsday Rule, Sakamoto's method, Zeller's congruence)","archived":false,"fork":false,"pushed_at":"2019-01-05T13:22:14.000Z","size":4,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-15T20:27:53.990Z","etag":null,"topics":["dates","doomsday-algorithm","zeller-congruence"],"latest_commit_sha":null,"homepage":"","language":"J","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ajcr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-01T17:13:34.000Z","updated_at":"2023-08-15T02:15:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"cc9fe8c0-df3e-4cd9-9829-9b6fa670ed97","html_url":"https://github.com/ajcr/doomsday","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajcr%2Fdoomsday","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajcr%2Fdoomsday/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajcr%2Fdoomsday/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajcr%2Fdoomsday/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ajcr","download_url":"https://codeload.github.com/ajcr/doomsday/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248253359,"owners_count":21072835,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dates","doomsday-algorithm","zeller-congruence"],"created_at":"2024-11-05T23:18:22.602Z","updated_at":"2026-02-09T10:33:31.814Z","avatar_url":"https://github.com/ajcr.png","language":"J","readme":"# doomsday\n\nA collection of methods to compute the day of the week for any date in the Gregorian calendar.\n\nCurrently includes:\n\n- Conway's Doomsday Algorithm\n- Zeller's Congruence\n- Sakamoto's Method\n\n## Usage\n\nTo run the scripts you must have a J interpreter installed (the scripts look for `/usr/bin/ijconsole` so adjust this as necessary).\n\nClone this repository (or download any of scripts you want). Make sure the scripts are executable (i.e. `chmod +x [script]`).\n\nExecute a script with the date passed as three integer arguments of the form `YYYY MM DD`. For example:\n\n```\n$ ./doomsday.ijs 1999 12 31\nFriday\n\n$ ./zeller.ijs 2080 2 29    \nThursday\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajcr%2Fdoomsday","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fajcr%2Fdoomsday","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajcr%2Fdoomsday/lists"}