ConvertSeconds
Template page
76,461
pages on
this wiki
this wiki
In this Template I am going to attempt to take a single parameter,
Testing
Edit
- 59 seconds = 59 seconds
- 60 seconds = 1 min
- 61 seconds = 1 min 1 sec
- 89 seconds = 1 min 29 sec
- 90 seconds = 1 min 30 sec
- 3600 seconds = 1 hr
It ain't elegant, but I added a special check to see if minutes=0 to prevent the -1 min error.
Useful Template Links: | All Templates | Information Templates | Class Templates |
---|