Current date string
str = date
str = date returns a character vector containing the
date in the format, day-month-year, for example,
MATLAB Online determines the current date from Coordinated Universal Time (UTC) rather than from local time.
To return a datetime scalar representing the current date, type:
d = datetime('today')