Compare datetime-values to equality
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hey guys!
It seems like a really dumb question, but I haven't found a solution yet: How do I compare datetime values to equality? '==' does not work.
Kind regards, Spacey
0 Kommentare
Antworten (1)
Thomas Koelen
am 9 Apr. 2015
t1 = datetime(2013,1,13,0,0,0);
t2 = datetime(2013,1,13,11,0,0);
tf = isequal(t1,t2)
tf=
0
0 Kommentare
Siehe auch
Kategorien
Mehr zu Resizing and Reshaping Matrices finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!