{"id":15394184,"url":"https://github.com/xyproto/ud","last_synced_at":"2025-07-21T03:06:39.654Z","repository":{"id":181426087,"uuid":"666753665","full_name":"xyproto/ud","owner":"xyproto","description":"The UNIX day utility","archived":false,"fork":false,"pushed_at":"2024-08-06T22:30:24.000Z","size":31,"stargazers_count":19,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-29T03:02:17.001Z","etag":null,"topics":["c","cli","time","unix","unixday","unixtime","utility"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xyproto.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":"2023-07-15T13:14:02.000Z","updated_at":"2024-12-18T13:54:03.000Z","dependencies_parsed_at":"2024-10-19T02:05:29.627Z","dependency_job_id":"11cc8161-222d-41f3-b5ce-03fc5fe9b004","html_url":"https://github.com/xyproto/ud","commit_stats":{"total_commits":24,"total_committers":3,"mean_commits":8.0,"dds":0.5416666666666667,"last_synced_commit":"f09e500edb58556e579bf715ba7dc2f3860a727a"},"previous_names":["xyproto/ud"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyproto%2Fud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyproto%2Fud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyproto%2Fud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyproto%2Fud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xyproto","download_url":"https://codeload.github.com/xyproto/ud/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249173061,"owners_count":21224481,"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":["c","cli","time","unix","unixday","unixtime","utility"],"created_at":"2024-10-01T15:22:11.099Z","updated_at":"2025-04-15T23:52:49.564Z","avatar_url":"https://github.com/xyproto.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `ud`\n\nWhich UNIX day is it today? `ud` can let you know!\n\nUNIX days are calculated from the current UNIX time, which is the number of seconds since January 1st, 1970 at 00:00:00 UTC.\n\nUNIX day `20000` is at **2024**-10-04 (the 4th of October). It's a special day, since the next round (10000) UNIX day is `30000` at **2052**-02-20.\n\nThis README.md file was written on UNIX day `19553` (which is 2023-07-15).\n\n### The `ud` utility can\n\n* Output the UNIX day for today.\n* Take a UNIX day and return the corresponding date.\n* Take a date and return the UNIX day.\n\n## Build\n\n### With CMake and Make\n\n    cmake -B build -S . \u0026\u0026 make -C build\n\n### With gcc\n\n    gcc -std=c18 -O2 -D_GNU_SOURCE -o ud main.c\n\n## Install\n\n### On Linux, using sudo\n\n    sudo install -Dm755 ud /usr/bin/ud\n\n### On FreeBSD, using doas\n\n    doas install -d /usr/local/bin\n    doas install -m755 ud /usr/local/bin/ud\n\n## General info\n\n* Version: 1.1.0\n* License: BSD-3\n* Authors: Alexander F. Rødseth \u0026lt;xyproto@archlinux.org\u0026gt; and Oliver Webb \u0026lt;aquahobbyist@proton.me\u0026gt;\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxyproto%2Fud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxyproto%2Fud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxyproto%2Fud/lists"}