Qustion about :datestr a bug? or something others
Show older comments
Why
datestr('2011-01-02 00:00:01','yyyy-mm-dd HH:MM:SS AM')
result in 2011-01-02 12:00:01 AM otherwise 2011-01-02 00:00:01 AM???
On the other hand, datestr('2011-01-02 12:00:01','yyyy-mm-dd HH:MM:SS AM') result in 2011-01-02 12:00:01 PM other than 2011-01-02 00:00:01 PM?* Is there a bug? or I had made a mistake?
1 Comment
Oleg Komarov
on 2 Aug 2011
Puzzling...
Accepted Answer
More Answers (0)
Categories
Find more on Direct Search in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!