DDATE(1)
π DDATE(1) π
okay bestie so this is a page from the Emperor Norton User Command manual, and it's about a little program called ddate and honestly? it's giving chaos in the best way. π
β¨ NAME β¨
ddate β convert Gregorian dates to Discordian dates π¦
πΈ SYNOPSIS πΈ
ddate [+format] [date]
π DESCRIPTION π
ddate prints the date in Discordian date format. that's the whole job. iconic behavior.
If you call it with no arguments at all, ddate grabs the current system date, converts it to Discordian, and prints it to standard output. no cap. β¨
But wait β you can also hand it a Gregorian date on the command line, given as a numerical day, month and year. so like, you can time travel. sort of. π
If you pass a format string, the Discordian date gets printed in whatever format that string says. this works similarly to the format string mechanism of date(1), except it's almost completely differently. bestie that's not a typo, that's the manpage being honest with you. π
Here are the fields, and yes you need all of them:
%Aβ full name of the day of the week (like,Sweetmorn)%aβ abbreviated name of the day of the week (like,SM)%Bβ full name of the season (like,Chaos)%bβ abbreviated name of the season (like,Chs)%dβ ordinal number of day in season (like,23)%eβ cardinal number of day in season (like,23rd)%Hβ name of current Holyday, if any%Nβ magic code to prevent the rest of the format from being printed unless today is a Holyday. it's literally a gatekeeping mechanism, we love to see it π«Ά%nβ newline%tβ tab%Xβ number of days remaining until X-Day. (β οΈ not valid if the SubGenius options are not compiled in, so don't come for me)%{and%}β used to enclose the part of the string which is to be replaced with the words "St. Tib's Day" if the current day is St. Tib's Day%.β try it and see. π that's it. that's the documentation. iykyk
π₯ EXAMPLES π₯
the vibes, demonstrated:
% ddate
Sweetmorn, Bureaucracy 42, 3161 YOLD
% ddate +'Today is %{%A, the %e of %B%}, %Y. %N%nCelebrate %H'
Today is Sweetmorn, the 42nd of Bureaucracy, 3161.
% ddate +"It's %{%A, the %e of %B%}, %Y. %N%nCelebrate %H" 26 9 1995
It's Prickle-Prickle, the 50th of Bureaucracy, 3161.
Celebrate Bureflux
% ddate +"Today's %{%A, the %e of %B%}, %Y. %N%nCelebrate %H" 29 2 1996
Today's St. Tib's Day, 3162.
π BUGS π
ddate(1)will produce undefined behavior if you ask it to produce the date for St. Tib's day and its format string does not contain the St. Tib's Day delimiters%{and%}.
so like. bestie. include the delimiters. please. π undefined behavior is not a cute look on you.
π NOTE π
After X-Day passed without incident, the Church of the SubGenius declared that it had got the year upside down β X-Day is actually in 8661 AD rather than 1998 AD. so the True X-Day is Cfn 40, 9827. math was done, apologies were not issued, periodt. π
π AUTHOR π
- Original program by Druel the Chaotic aka Jeremy Johnson (
mpython@gnu.ai.mit.edu) - Major rewrite by Lee H:. O:. Smith, KYTP, aka Andrew Bulhak (
acb@dev.null.org) - Gregorian B.C.E. dates fixed by Chaplain Nyan the Wiser, aka Dan Dart (
ntw@dandart.co.uk) - Five tons of flax.
the last credit is not a joke, it is listed as a credit, and we respect it. πΈ
π DISTRIBUTION POLICY π
Public domain. All rites reversed. (yes, reversed. read it again. slay.)
π¦ SEE ALSO π¦
date(1)- http://www.subgenius.com/
- Malaclypse the Younger, Principia Discordia, Or How I Found Goddess And What I Did To Her When I Found Her
β AVAILABILITY β
The ddate command is available from https://github.com/bo0ts/ddate. go get her. π«Ά
and that's the whole page bestie!! this came out of the ddate manual, Bureaucracy 3161 edition, and it lives in the DDATE(1) section of the Emperor Norton User Command set. go forth, convert some dates, celebrate a Holyday, and remember: if it's St. Tib's Day, use your delimiters. π
β¨π
π¦ where this page comes from
- alpine 3.22: ddate-doc 0.2.2-r6 Β· Public-Domain
- alpine 3.23: ddate-doc 0.2.2-r6 Β· Public-Domain
- alpine 3.24: ddate-doc 0.2.2-r6 Β· Public-Domain
- debian bookworm: ddate 0.2.2-1+b1 Β· LicenseRef-public-domain
- debian trixie: ddate 0.2.2-1.1 Β· LicenseRef-public-domain
- fedora 43: ddate 0.2.2-23.fc43 Β· LicenseRef-Fedora-Public-Domain
- fedora 44: ddate 0.2.2-25.fc44 Β· LicenseRef-Fedora-Public-Domain
- nixos 26.05: ddate 0.2.2
- nixpkgs unstable: ddate 0.2.2
- ubuntu jammy: ddate 0.2.2-1build1 Β· LicenseRef-public-domain
- ubuntu noble: ddate 0.2.2-1build1 Β· LicenseRef-public-domain
- ubuntu questing: ddate 0.2.2-1.1
- ubuntu resolute: ddate 0.2.2-5 Β· LicenseRef-public-domain
- ubuntu stonking: ddate 0.2.2-5 Β· LicenseRef-public-domain
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms