Content:HistoryPP/DateFormatting-Format: Difference between revisions

From Miranda NG
Jump to navigation Jump to search
(initial; finished)
 
(missing </table>)
Line 1: Line 1:
<noinclude>{{PageLang|en}}</noinclude>{{DateExample}}{{Content:HistoryPP/DateFormatting-Format/Definitions}}
<noinclude>{{PageLang|en}}</noinclude>{{DateExample}}{{
<table class="wikitable">
  Content:HistoryPP/DateFormatting-Format/Definitions
}}<table class="wikitable">
<th scope="col"> {{L10n:Content/TableHeaders | Value}} </th>
<th scope="col"> {{L10n:Content/TableHeaders | Value}} </th>
<th scope="col"> {{L10n:Content/TableHeaders | Description}} </th>
<th scope="col"> {{L10n:Content/TableHeaders | Description}} </th>
Line 13: Line 14:
     </tr>
     </tr>
}}
}}
<noinclude>[[Category:Content pages]]</noinclude>
</table><noinclude>
[[Category:Content pages]]
</noinclude>

Revision as of 19:49, 24 June 2015

Value Description Example
y Year last 2 digits 06
yy Year last 2 digits 06
yyyy Year as 4 digits 2006
m Month number without leading zero 1
mm Month number with leading zero 01
mmm Short month name Jan
mmmm Full month name January
d Day number without leading zero 2
dd Day number with leading zero 02
ddd Short day name Mon
dddd Full day name Monday
ddddd Date as short date format (system-dependent) 02/01/2006
dddddd Date as long date format (system-dependent) 02 January 2006
h Hour without leading zero 3
hh Hour with leading zero 03
n Minute without leading zero 5
nn Minute with leading zero 05
s Second without leading zero 44
ss Second with leading zero 44
z Millisecond without leading zero 21
zzz Millisecond as 3 digits 021
am/pm Time in 12-hour format with "am" or "pm" am
a/p Time in 12-hour format with "a" or "p" a
t Short time format (system-dependent) 3:05
tt Long time format (system-dependent) 3:05:44
c Short date format + long time format (system-dependent) 02/01/2006 3:05:44