Time duration
There are two accepted syntaxes for expressing time duration.
[-][HH:]MM:SS[.m...]
HH expresses the number of hours, MM the number of minutes for a maximum of 2 digits, and SS the number of seconds for a maximum of 2 digits. The m at the end expresses decimal value for SS.
or
[-]S+[.m...]
S expresses the number of seconds, with the optional decimal part m.
In both expressions, the optional '-' indicates negative duration.
Command line examples
The following examples are all valid time duration:
- '55'
-
55 seconds
- '12:03:45'
-
12 hours, 03 minutes and 45 seconds
- '23.189'
-
seconds