convert time in seconds to hours minutes seconds code example Example: how to turn hours to seconds #multiply the time value by 3600