datetime.length
datetime: N = length (T)
Length of a datetime vector.
N = length (T) returns the size of the longest dimension of the datetime array T, unless any of its dimensions has zero length, in which case length (T) returns 0.
N = length (T)
length (T)
Source Code: datetime