|
|
Date Formatting
This is an overview of the various options you can use for the formatting of dates in [[date]], [[fulldate]], [[diffdate]], and in the various options in Administration » Weblogs.
The options you can use are:
| %minute% | the number of minutes after the hour: from 00 to 59 | |
| %hour12% | inserts the hour from 00 to 11 | |
| %ampm% | inserts either AM or PM | |
| %hour24% | inserts the hour from 00 to 23 | |
| %day% | insert the day, as a double digit from '01' to '31' | |
| %ordday% | ordinal day - insert the day, as a number from 1 to 31 | [>1.20b1] |
| %daynum% | insert the number of the day in the week, from 1 to 7 | |
| %dayname% | insert the name of the day, as defined by your language file | |
| %weekday% | insert the name of the day, as defined by your language file (same as %dayname%) | |
| %weeknum% | the number of the week, from 1 to 53 | |
| %month% | the number of the month, as a double digit from '01' to '12' | |
| %ordmonth% | ordinal month - the number of the month, from 1 to 12 | [>1.20b1] |
| %monthname% | insert the name of the month, as defined by your language file | |
| %monname% | insert the short name of the month, as defined by your language file | |
| %year% | the year, in four digits: like '2004' | |
| %ye% | the year, in two digits: like '04' | |
| %aye% | apostrophe year - the year, in two digits: prefixed with a typographically correct apostrophe, like ’04 | [>1.20b1] |
This is an overview of the various options you can use for the formatting of dates in relation to Archives. These are used in Administration » Create / Edit Weblog, step 1 of 3. Section: Archive Settings Field: Archive List format
NOTE
%st_xxxx% ⇔ designates a starting date
%en_xxxx% ⇔ designates an ending date.
The options you can use are:
| %st_day% | %en_day% | insert the day, as a double digit from '01' to '31' | |
| %st_ordday% | %en_ordday% | ordinal day - insert the day, as a number from 1 to 31 | [>1.20b1] |
| %st_daynum% | %en_daynum% | insert the number of the day in the week, from 1 to 7 | |
| %st_dayname% | %en_dayname% | insert the name of the day, as defined by your language file | |
| %st_weekday% | %en_weekday% | insert the name of the day, as defined by your language file (same as %dayname%) | |
| %st_weeknum% | %en_weeknum% | the number of the week, from 1 to 53 | |
| %st_month% | %en_month% | the number of the month, as a double digit from '01' to '12' | |
| %st_ordmonth% | %en_ordmonth% | ordinal month - the number of the month, from 1 to 12 | [>1.20b1] |
| %st_monthname% | %en_monthname% | insert the name of the month, as defined by your language file | |
| %st_monname% | %en_monname% | insert the short name of the month, as defined by your language file | |
| %st_year% | %en_year% | the year, in four digits: like '2004' | |
| %st_ye% | %en_ye% | the year, in two digits: like '04' | |
| %st_aye% | %en_aye% | apostrophe year - the year, in two digits: prefixed with a typographically correct apostrophe, like ’04 | [>1.20b1] |
| Special thanks to our platinum sponsors: Gambling News |
