extract date from date time command in matlab
Ältere Kommentare anzeigen
Hi
I am using date time command in MATLAB but want only date and not time. Is there any other command?

Antworten (1)
You don't need another command, you just need to change the format property:
For example:
Dt.Format = 'yyyy-MM-dd';
See also the examples:
Kategorien
Mehr zu Dates and Time finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!