Skip to content

Instantly share code, notes, and snippets.

@MIsabelZM
Created July 13, 2015 17:22
Show Gist options
  • Save MIsabelZM/6f2cdb83e57dc058941d to your computer and use it in GitHub Desktop.
Save MIsabelZM/6f2cdb83e57dc058941d to your computer and use it in GitHub Desktop.
Seconds to Hours
#If seconds(x) are less than 86400 (Seconds per day)
Time.at(x).utc.strftime("%H:%M:%S")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment