This function takes a time in seconds and converts it to a more human-readable format, showing hours, minutes, or seconds, depending on how long the time is. Used by my implementation of tic()/toc().
1 | secToTime(timeInSec)
|
timeInSec |
numeric value of time measured in seconds. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.