Template:TimeConverter
Jump to navigation
Jump to search
Usage
Details
Used to convert an input time in seconds into an output string of time i.e seconds to minutes, seconds
Parameter | Description | Type | Status | |
---|---|---|---|---|
Param1 | Param1 | Input time in seconds, will convert the number of seconds to an output string of total time
| Number | required |
Examples
Input | Output |
---|---|
{{TimeConverter|0}} |
0 Seconds |
{{TimeConverter|1}} |
1 Second |
{{TimeConverter|30}} |
30 Seconds |
{{TimeConverter|60}} |
1 Minute |
{{TimeConverter|61}} |
1 Minute, 1 Second |
{{TimeConverter|120}} |
2 Minutes |
{{TimeConverter|600}} |
10 Minutes |
{{TimeConverter|invalid text}} |
0 Seconds |
{{TimeConverter|-1}} |
-1 Seconds |
{{TimeConverter|3600}} |
1 Hour |
{{TimeConverter|3661}} |
1 Hour, 1 Minute, 1 Second |
{{TimeConverter|7199}} |
1 Hour, 59 Minutes, 59 Seconds |
{{TimeConverter|7200}} |
2 Hours |
The above documentation is transcluded from Template:TimeConverter/doc.[edit | history | purge]