FUNCTION REFERENCE

second

Second of each datetime, with its fraction.

Second of each datetime, with its fraction.

Syntax

s = second(t)

Example

s = second(datetime(2024, 1, 1, 18, 30, 15.25))   % 15.25

Differences from MATLAB: None known.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.