Description Usage Arguments Value Examples
Converts time in seconds to most easily readable non-decimal unit, between days, hours, minutes or seconds, followed by the corresponding unit
1 |
s |
A numerical variable, a time in seconds to convert. |
A character variable, formatted to short time
1 2 3 4 5 | shortformattime(32) # outputs '32s'
shortformattime(165) # outputs '3m'
shortformattime(3601) # outputs '1h'
shortformattime(5421.15) # outputs '2h'
shortformattime(452632.456) # outputs '5d'
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.