Skip to Main Content Skip to Search
Product Documentation

date - Current date string

Syntax

str = date

Description

str = date returns a string containing the date in dd-mmm-yyyy format.

See Also

clock | datenum | datestr | now

  


Free MATLAB Interactive Kit

Explore how to use MATLAB to make advancements in engineering and science.


Download free kit

Trials Available

Try the latest version of MATLAB and other MathWorks products.


Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS