Ddate converts Gregorian to Discordian dates. It is is an almost faithful recreation of the ddate command provided by the util-linux standard package of the Linux operating system in PHP.