1,651
edits
m (→Month formats) |
m (→Day formats) |
||
Line 242: | Line 242: | ||
All locales offer both numerical and alphabetical formats for representing a day. | All locales offer both numerical and alphabetical formats for representing a day. | ||
The table below shows the specifications for the day part of any date specifications. | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
!style="width:150px" | [[File:Badge vMx.png]]Mono/.NET Specifier for Cumulus MX | !style="width:150px" | [[File:Badge vMx.png]]Mono/.NET Specifier for Cumulus MX | ||
!style="width:600px" | Displays | !style="width:600px" | Displays | ||
!style="width:600px" | Example | !style="width:600px" | Example | ||
|- | |- | ||
| %d | | %d | ||
|Displays the day as a number without a leading zero (1-31). | |Displays the day as a number without a leading zero (1-31). | ||
Note that Cumulus MX requires '%' to be included, as 'd' on its own is inconsistent. | |||
| 27 produced by | |27 produced by <#metdate format="%d"> | ||
|- | |- | ||
|dd | |dd | ||
|Displays the day as a number with a leading zero (01-31). | |Displays the day as a number with a leading zero (01-31). | ||
|07 produced by <#metdate format="dd"> | |07 produced by <#metdate format="dd"> | ||
|- | |- | ||
|ddd | |ddd | ||
|Displays the day as an abbreviation | |Displays the day as an abbreviation using the strings appropriate to the Locale. It may produce a dot at the end of the string. | ||
|'Wed' produced by <#metdate format="ddd"> (UK English locale) | |'Wed' produced by <#metdate format="ddd"> (UK English locale) | ||
|- | |- | ||
|dddd | |dddd | ||
|Displays the day as a full name | |Displays the day as a full name using the strings appropriate to the Locale. | ||
|'Friday' produced by <#metdate format="dddd"> (English locale) | |'Friday' produced by <#metdate format="dddd"> (English locale) | ||
|} | |} |