obj = datetime () ¶Constructs a new scalar datetime containing the current local time, with
no time zone attached.
obj = datetime (datevec) ¶obj = datetime (datestrs) ¶obj = datetime (in, 'ConvertFrom', inType) ¶obj = datetime (Y, M, D, H, MI, S) ¶obj = datetime (Y, M, D, H, MI, MS) ¶obj = datetime (…, 'Format', Format, 'InputFormat', InputFormat, 'Locale', InputLocale, 'PivotYear', PivotYear, 'TimeZone', TimeZone) ¶Constructs a new datetime array based on input values.