8.2.10.16 datetime.hms

Method: [h, m, s] = hms (obj)

Get the Hour, Minute, and Second components of a datetime. These are the time of day components. The Year, Month, and Day components are ignored, and not incorporated in to the result.

For zoned datetimes, these will be local times in the associated time zone.

Returns double arrays the same size as obj.