![]() |
![]()
| ![]() |
![]()
NAMEddate - convert Gregorian dates to Discordian datesSYNOPSISddate [+format] [date]DESCRIPTIONddate prints the date in Discordian date format.If called with no arguments, ddate will get the current system date, convert this to the Discordian date format and print this on the standard output. Alternatively, a Gregorian date may be specified on the command line, in the form of a numerical day, month and year. If a format string is specified, the Discordian date will be printed in a format specified by the string. This mechanism works similarly to the format string mechanism of date(1), only almost completely differently. The fields are:
EXAMPLES% ddate % ddate +'Today is %{%A, the %e of %B%}, %Y. %N%nCelebrate %H' % ddate +"It's %{%A, the %e of %B%}, %Y. %N%nCelebrate %H" 26 9 1995 % ddate +"Today's %{%A, the %e of %B%}, %Y. %N%nCelebrate %H" 29 2 1996 BUGSddate(1) will produce undefined behavior if asked to produce the date for St. Tib's day and its format string does not contain the St. Tib's Day delimiters %{ and %}.NOTEAfter `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. Thus, the True X-Day is Cfn 40, 9827.AUTHOROriginal 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. DISTRIBUTION POLICYPublic domain. All rites reversed.SEE ALSOdate(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 AVAILABILITYThe ddate command is available from https://github.com/bo0ts/ddate.
|