The time format consists in a text string in which the time information
(like number of seconds) is specified using tags. A tag begins by the character
"%" optionally followed by
"." or
"0" and
a character indicating which specific information must be provided.
The possible values are:
H |
Hour (0-23) |
h |
Hour (1-12) |
M |
Minute (0-59) |
S |
Seconds (0-59) |
s |
Milliseconds (0-999) |
p |
text "pm" or "am |
P |
text "PM" or "AM |
% |
The symbol "%" |
If the second character is used, the corresponding information is produced
in fixed format with space (
".") or zero (
"0") as the
padding character. For instance, the hour 1
will be displayed as
"1" with the format
"%H";
as
" 1" with
"%.H" and as
"01" with
"%0H".