Content:HistoryPP/DateFormatting-Example: Difference between revisions

From Miranda NG
Jump to navigation Jump to search
(initial; ready)
 
(missing <tr> for headers)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{PageLang|en}}</noinclude>{{DateExample}}{{Content:HistoryPP/DateFormatting-Example/Definitions}}
<noinclude>{{PageLang|en}}</noinclude>{{DateExample}}{{
<table class="wikitable">
  Content:HistoryPP/DateFormatting-Example/Definitions
<th scope="col"> {{L10n:Content/TableHeaders | Value}} </th>
}}<table class="wikitable">
<th scope="col"> {{L10n:Content/TableHeaders | Result}} </th>
<tr>
<th scope="col"> {{L10n:Content/TableHeaders | Note}} </th>
  <th scope="col"> {{L10n:Content/TableHeaders | Value}} </th>
  <th scope="col"> {{L10n:Content/TableHeaders | Result}} </th>
  <th scope="col"> {{L10n:Content/TableHeaders | Note}} </th>
</tr>
{{  #loop: i
{{  #loop: i
   | 0                    <!-- loops start value for {{#var:i}} -->
   | 0                    <!-- loops start value for {{#var:i}} -->
Line 13: Line 16:
     </tr>
     </tr>
}}
}}
<noinclude>[[Category:Content pages]]</noinclude>
</table><noinclude>
[[Category:Content pages]]
</noinclude>

Latest revision as of 12:08, 13 December 2015

Value Result Note
c 02/01/2006 3:05:44 Date and time format is default system format
ddd, mmm d, yy Mon, Jan 2, 06
dd/mm/yyyy hh:nn:ss 02/01/2006 3:05:44
dddd, d mmmm, yyyy Monday, 2 January, 2006
hh:nn am/pm 03:05 am am/pm converts time to 12-hour format
h:n:s a/p 3:5:44 a a/p converts time to 12-hour format