options:xml:time-format

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
options:xml:time-format [2014/02/09 01:50] – external edit 127.0.0.1options:xml:time-format [2018/01/10 20:42] (current) – external edit 127.0.0.1
Line 10: Line 10:
   * Saturday, March 07, 2009   * Saturday, March 07, 2009
  
-but if you like you can changed (or extend) these formats by direct modification of syntax //spec// file. +but if you like you can change (or extend) these formats by direct modification of syntax //spec// file. 
 The formats you see by default defined in file def_spec.xml (Default syntax), but you can also add/move them to any //spec// file you want to be extended.  The formats you see by default defined in file def_spec.xml (Default syntax), but you can also add/move them to any //spec// file you want to be extended. 
 The following line in **def_spec.xml** should changed:  The following line in **def_spec.xml** should changed: 
Line 32: Line 32:
 </code> </code>
  
-Complete list of formatting option can be found on [[http://msdn.microsoft.com/en-us/library/fe06s4ak.aspx|MSDN web site]], here is small snapshot:+A complete list of formatting option can be found on [[http://msdn.microsoft.com/en-us/library/fe06s4ak.aspx|MSDN web site]], here is small snapshot:
     %a        Abbreviated weekday name     %a        Abbreviated weekday name
     %A        Full weekday name     %A        Full weekday name
Line 46: Line 46:
     %p        Current locale's A.M./P.M. indicator for 12-hour clock     %p        Current locale's A.M./P.M. indicator for 12-hour clock
     %S        Second as decimal number (00 – 59)     %S        Second as decimal number (00 – 59)
-    %U        Week of year as decimal number, with Sunday as first day of week (00 – 53)+    %U        Week of year as decimal number, with Sunday as the first day of week (00 – 53)
     %w        Weekday as decimal number (0 – 6; Sunday is 0)     %w        Weekday as decimal number (0 – 6; Sunday is 0)
-    %W        Week of year as decimal number, with Monday as first day of week (00 – 53)+    %W        Week of year as decimal number, with Monday as the first day of week (00 – 53)
     %x        Date representation for current locale     %x        Date representation for current locale
     %X        Time representation for current locale     %X        Time representation for current locale