def hms(secs)
      h, m, s = 0, 0, 0
      h = secs / 3600
      secs -= h * 3600
      m = secs / 60
      secs -= m * 60
      [h, m, secs]
    end
def hms(secs)
      h, m, s = 0, 0, 0
      h = secs / 3600
      secs -= h * 3600
      m = secs / 60
      secs -= m * 60
      [h, m, secs]
    end
Formatting