secs2hms

Convert time in seconds to hours/minutes/seconds

Syntax

   [h,m,s] = secs2hms(t)

Arguments

input

   t          time in seconds

output

   h          hours
   m          minutes
   s          seconds

Description

Return hours, minutes, seconds h, m, s of time t in seconds.

See also

timestr

Copyright notice

[(C)] Lionel Barnett and Anil K. Seth, 2012. See file license.txt in root directory for licensing terms.