Description Usage Arguments Value
These functions convert date and time values into human-readable character
vectors.
formatSeconds
formats time values given as a numerical vector denoting
seconds into human-readable character vectors, i.e. formatSeconds(70)
results in the string "1 minute, 10 seconds"
.
1 | formatSeconds(seconds, secondDecimals = 2)
|
seconds |
A numeric vector denoting seconds. |
secondDecimals |
The number of decimal places to show for seconds. Defaults to 2. |
A character vector containg a human-readable representation of the given date/time.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.