Mapping Toolbox
  Go to function:
    Search    Help Desk 
hr2hms, hr2hm    Examples   See Also

Convert time units from hours to hms or hm

Syntax

Description

timeout = hr2hms(timein) converts times input in hours to the equivalent measure in the hours-minutes-seconds (hms) format.

timeout = hr2hm(timein) converts times input in hours to the equivalent measure in the hours-minutes (hm) format. This is the hms format, properly rounded to just hours and minutes.

Example

See Also

hms2mat
Convert from hms to separated matrix components
sec2hr
hr2hms
Other direct time conversion functions
mat2hms
Convert from separated matrices to hms format
timedim
Convert time units


[ Previous | Help Desk | Next ]