HODIE(1)
π HODIE(1) β the User Manuals era β¨
okay bestie, sit down, hydrate, because we're about to talk about hodie β the manual page for the little program that prints today's date... in Latin ποΈπ yes, actually. and the time in Roman numerals. no, I'm not kidding. it's iconic, it's unhinged, it's giving "the ancients had a CLI and honestly? they ate."
πΈ NAME πΈ
hodie β Print current date and time... in Latin π¦
β¨ SYNOPSIS β¨
hodie [ OPTION ]...
π« DESCRIPTION π«
so hodie prints out the current date using classic Latin, and on top of that it also prints it out and the time using Roman numerals. yes bestie, both. it's overachieving like that π
π OPTIONS π
-h,--helpβ prints a short help message with the syntax. your little "what do I even type" lifeline π«Ά-v,--verboseβ prints months and days (pridie,Kalends,Nones,Ides) in their full form instead of the abbreviations. ngl this is the standard mode of operation β it's just how she runs.- and if you do
-vtwice, or use-vv, or go full--extremely-verbose, you get the numerals fully declined where that applies β as in'ante diem quintum Kalends Septembres'. that's the maxed-out, no-abbreviations, grammar-girlie setting πβ¨
- and if you do
-n,--numeralsβ do not print anything in Latin, only the date and the time as Roman numerals. Latin-free zone, numerals only π-x,--force-numeralsβ prints both the verbose Latin and the date and time as Roman numerals. yes, both. greedy. obsessed.-c,--classic,--aucβ prints the year the classic way,ab urbe condita, instead of the more modernanno domini. ancient-era main character energy π-a,--ante-diemβ prints the date expressing the number of days to the next main day with theante diemexpression instead of the ablative case. grammar choices, we love them πΈ-d,--dateβ print out any date you want. this one has a rather special syntax: a keyword follows the-dflag and that keyword picks the input format. go read the DATE INPUT section below, fr fr π-r,--republicanOFFSETβ prints the date datedab urbe tua conditawith the offset counted in years as compared to the modern european kalendar (which originates with the hypothetical birth of christ). sohodie -r -753would be equivalent withhodie -cπ«--versionβ prints out the version number of this release and exits. and it does this no matter whether other options appear on the command line or not β she does not care, she is leaving π
π¦ DATE INPUT π¦
after the -d or the --date option flags, the first item has to be one of these, bestie:
verboseβ in this case the year, month and day are given by following theverbosekeyword with the flags-y,--year,-m,--month,-d,--dayfor year, month and date respectively πymdβ after this flag the date comes in the formatYYYY-MM-DD, where the numbers may be separated by any non-numeric character. anything non-numeric, she's flexible like that β¨dmyβ with this flag the date is given asDD-MM-YYYYπmdyβ with this flag the date is given asMM-DD-YYYY. restrictions on the characters that may replace the hyphen apply as above π
π HISTORY π
the story began on the 10. of August, 2000 (a.d. VI Id. Iul., MM). our author had finished most of the assignment for a two-month summer job at Ericsson Eurolab Deutschland, Nuremberg, was idling around on the Internet, and stumbled over the dotcomma-challenges at <http://www.dotcomma.org> β where especially the Roman numeral challenge started the mind going π₯
almost an hour of hacking, and there it was. another hour, and the language support was there. before the night was over, the man page was written and the layout of a decent Makefile was drawn out mentally. periodt. π
at the end of the next day, things were far enough along that the workings of RPM were actually worked out β a .rpm-package and a .src.rpm-package were constructed, promptly released on the home-page, announced on freshmeat, and uploaded to metalab (apps/misc :-). iconic behaviour, honestly π
response was quick and plentiful. by now there are compilation reports from Linux, FreeBSD and SCO Unixware 7; there are a few compatibility issues to put aside, but it works surprisingly well β¨
π RETURN VALUES π
hodie returns zero. always. if it doesn't, then something is really bad with the code. like, really bad π
for some really unreadable code, this means that hodie could be used as a strange replacement for true π
π BUGS π
it doesn't sanity check the input... telling hodie to display the roman form of the 99th of march gives a slightly jumbled output, which most definitely does not make sense. bestie. it is not going to catch you π
reports are more than welcome (e-mail below) π«Ά
π§ AUTHOR π§
now, who would come up with such a thing? well β that's Mikael Johansson, a rather all-round geek from Stockholm. gravely interested in languages, in computers and in mathematics; a combination more dangerous than you might think π
e-mails to <mikael@johanssons.org> π
π SEE ALSO π
date(1) β the normie cousin, still valid, still slaying π
okay that's the whole thing, love you, go print some dates in Latin π and for the record: this was the Linux manual, dated AUGUST 2000 β ancient, historic, still eating. πβ¨ bye bestie π¦
π¦ where this page comes from
- debian bookworm: hodie 1.5.0-2 Β· MIT
- debian trixie: hodie 1.5.0-4 Β· MIT
- ubuntu jammy: hodie 1.5.0-1 Β· MIT
- ubuntu noble: hodie 1.5.0-4 Β· MIT
- ubuntu questing: hodie 1.5.0-4
- ubuntu resolute: hodie 1.5.0-5 Β· MIT
- ubuntu stonking: hodie 1.5.0-5 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms