I am pleased to present ddate for Joomla! Now you too can have the Discordian date displayed on your Joomla! website! This module allows for custom class suffix and custom output format, and mimics the Linux 'ddate' utility as close as possible (without the SubGenius options - sorry Bob).
Discordian Date Module is now available in the shop!
This particular module is licensed Kopyleft, so do whatever you want with it. I accept back links as compensation, though I don't expect it. Discordian Date Module is now licensed GNU/GPL as of version 0.2.
Custom Date String Options
| %A | day name |
| %a | abbreviated day |
| %B | full season |
| %b | abbreviated season |
| %d | ordinal day ( i.e., 23 ) |
| %e | cardinal number of day i.e., 23rd |
| %H | name of holyday, if one |
| %y | ordinal year |
| %. | ptang :D |
| %t | tab |
| %n | newline |
| %{ | |
| %} | everything inside these gets replaced on St. Tib's Day |
| %N | on St. Tib's Day, everything after this is ignored |
The file class/ddate.php can be imported into your own project for further use, or can be used via command line on systems that support php_cli. If you don't need the whole module, and just want the class, here it is:
Add your comment
Featured Extensions
|
$1.00
FREE You Save: $1.00 |
$3.00
FREE You Save: $3.00 |
FREE
|
$3.00
FREE You Save: $3.00 |
Latest Articles
Most Popular
The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries. Jeff Channell is not affiliated with or endorsed by Open Source Matters or the Joomla!® Project.



