NaT
datatypes: T = NaT (n)
datatypes: T = NaT (sz1, …, szN)
datatypes: T = NaT (sz)
datatypes: T = NaT (…, 'Format', fmt)
datatypes: T = NaT (…, 'TimeZone', tz)
“Not-a-Time”. Creates missing-valued datetime arrays.
T = NaT (n) creates an datetime matrix with all
values being Not-a-Time (NaT). When called with no size input
values, it returns a NaT datetime scalar.
T = NaT (sz1, …, szN) returns a datetime array
with NaT values sized according to the input arguments sz1,
…, szN. Alternatively, individual input size arguments can be
merged into a single size vector sz, as in the following syntax
T = NaT (sz).
T = NaT (…, returns a
datetime array of 'Format', fmt)NaT values with the specified display format.
T = NaT (…, returns a
datetime array of 'TimeZone', tz)NaT values n the time zone specified by tz.
NaT is the datetime equivalent of NaN. It represents
a missing or invalid value. NaT values never compare equal to,
greater than, or less than any value, including other NaTs. Doing
arithmetic with a NaT and any other value results in a NaT.
See also: datetime
Source Code: NaT