contradicting date identifier definitions in datestr and datetime
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
hans
am 21 Nov. 2022
Beantwortet: Steven Lord
am 21 Nov. 2022
I find it highly confusing that the date identifier in the commands datetime and datestr use contrasting meanings for upper case and lower case:
- minutes is MM
- months is mm
- seconds is SS
- minutes is mm
- months is MM
- seconds is ss
0 Kommentare
Akzeptierte Antwort
Steven Lord
am 21 Nov. 2022
That's correct. This is mentioned in the description of the Format property on the datetime documentation page.
If I recall correctly the specifiers in datenum predate the creation of the Unicode Technical Standard linked in that section of the documentation while the specifiers in datetime conform to that industry standard.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Dates and Time finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!