FUNCTION REFERENCE

isdatetime

True for a datetime array.

True for a datetime array.

Syntax

tf = isdatetime(x)

Example

tf = isdatetime(datetime(2024, 1, 1))   % 1

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.