Webtags (preserving history): Difference between revisions

m
Line 74: Line 74:
|-
|-
|d
|d
|d (with other modifiers)
|%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 a ' ' (space), '%' or other modifier to be included, as 'd' on its own returns full 'short date').
|-
|-
|dd
|dd
Line 83: Line 83:
|ddd
|ddd
|ddd
|ddd
|Displays the day as an abbreviation (Sun-Sat) using the strings appropriate to the Windows Locale.
|Displays the day as an abbreviation (Sun-Sat) using the strings appropriate to the Locale.
|-
|-
|dddd
|dddd
|dddd
|dddd
|Displays the day as a full name (Sunday-Saturday) using the strings appropriate to the Windows Locale.
|Displays the day as a full name (Sunday-Saturday) using the strings appropriate to the Locale.
|-
|-
|ddddd
|ddddd
|d (as single character format)
|d (as single character format)
|Displays the date using the format given by the Windows Short Date format.
|Displays the date using the format given by the Short Date format.
|-
|-
|dddddd
|dddddd
|D
|D
|Displays the date using the format given by the Windows Long Date format.
|Displays the date using the format given by the Long Date format.
|-
|-
|m
|m
|M
|%M
|Displays the month as a number without a leading zero (1-12). If the m specifier immediately follows an h or hh specifier, the minute rather than the month is displayed.
|Displays the month as a number without a leading zero (1-12).  
*Cumulus 1.x.y:If the 'm' specifier immediately follows an h or hh specifier, the minute rather than the month is displayed.
*Cumulus MX: Note that including a ' ' (space) or '%' before the M makes it a custom modifier and any initial zero is suppressed. ('M' on its own returns both Month and Day according to local format e.g. 07 July).
|-
|-
|mm
|mm
|MM
|MM
|Displays the month as a number with a leading zero (01-12). If the mm specifier immediately follows an h or hh specifier, the minute rather than the month is displayed.
|Displays the month as a number with a leading zero (01-12).  
*Cumulus 1.x.y:If the 'm' specifier immediately follows an h or hh specifier, the minute rather than the month is displayed.
|-
|-
|mmm
|mmm
Line 121: Line 124:
|Displays the year as a four-digit number (0000-9999).
|Displays the year as a four-digit number (0000-9999).
|-
|-
|(not available)
|(only available in combination with am/pm)
|h
|h
|Displays the hour (12 hour clock) without a leading zero (1-12).
|Displays the hour (12 hour clock) without a leading zero (1-12).
Line 129: Line 132:
|Displays the hour using 24 hour clock without a leading zero (0-23).
|Displays the hour using 24 hour clock without a leading zero (0-23).
|-
|-
|(not available)
|(only available in combination with am/pm)
|hh
|hh
|Displays the hour (12 hour clock) with a leading zero (01-12).
|Displays the hour (12 hour clock) with a leading zero (01-12).
Line 184: Line 187:
|-
|-
|ampm
|ampm
|
|(see above for 12 hour formats)
|Uses the 12-hour clock for the preceding h or hh specifier, and displays the contents of the Windows AM string for any hour before noon, and the contents of the Windows PM string for any hour after noon.
|Uses the 12-hour clock for the preceding h or hh specifier, and displays the contents of the Windows AM string for any hour before noon, and the contents of the Windows PM string for any hour after noon.
|-
|-
5,838

edits