userTimeFormat
1.63 KB
<h3>NonStandard Time Format</h3>
Year Month Day Hour Minute Second => in any combination and with different separators
should be described in the special input area. This input area is displayed after selection of Nonstandard
Time Format.<br/>You have to put:
<ul>
<li> <b>Y</b> - for full numeric representation of a year, 4 digits
<li> <b>y</b> - for two digit representation of a year
<li> <b>m</b> - for numeric representation of a month, with or without leading zeros
<li> <b>F</b> or <b>M</b> - for textual representation, such as January (F) or Jan (M)
<li> <b>d</b> - for day of the month with or without leading zeros
<li> <b>z</b> - for the day of the year (starting from 0) with or without leading zeros.<br/>
Use checkbox if DOY starts from 1 (ie if DOY = 1 corresponds to 1 Jan)
<li> <b>H</b> - for 24-hour format of an hour with or without leading zeros
<li> <b>i</b> - for minutes <b>with</b> leading zeros
<li> <b>s</b> - for seconds <b>with</b> leading zeros
<li> <b>.u</b> - for milliseconds, <b>3 digits after decimal point</b>
<li> <b>.k</b> - for milliseconds, <b>1 digit after decimal point</b>
<li> separators: " ", ":", "-"; "/"
</ul>
In case of time formats with spaces and <b>without leading zeros</b> or full (<b>F</b>) month representation you should fill <b>time length</b> input field
<br/>
d-m-Y H:i:s.u => '30-06-2001 10:40:20.003' <br/>
d m Y H i s.u => '30 6 2001 1 02 20.003'; timeLength => 21<br/>
Y/d/m H-i-s => '2001/30/06 10-40-20' <br/>
etc...
<br/>
<b>Valid time range: 1970-01-01 - 2038-01-19</b>