FUNCTION REFERENCE
timeofday
Time since midnight of each datetime, as a duration.
Time since midnight of each datetime, as a duration.
Syntax
d = timeofday(t)Example
d = timeofday(datetime(2024, 1, 1, 18, 30, 0)) % 18:30:00Differences from MATLAB: None known.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.