Hour, minute, and second numbers of duration
[h,m,s]
= hms(t)
[
returns the hour, minute,
and second values of the datetime values in h
,m
,s
]
= hms(t
)t
as
separate numeric arrays. The h
and m
outputs
contain integer values, and the s
output can contain
a fractional part. h
, m
, and s
are
the same size as t
.
Calling hms
is equivalent to calling the hour
, minute
,
and second
functions.