Date = today(outputType) returns
the current date using an optional outputType.
The type of output is determined by an optional outputType variable
input.
outputType — Type of output 'datenum' (default) | character vector with values 'datetime' or 'datenum'
Type of output, specified as a character vector with values 'datetime' or 'datenum'.
If outputType is 'datenum',
then Date is a serial date number. If outputType is 'datetime',
then Date is a datetime array. By default, outputType is 'datenum'.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.