compares two given date vectors and returns the difference in seconds.
difference = compare_date(date_1, date_2)
date vector [1x3] or [1x6]
date vector [1x3] or [1x6]
difference in [s]
, 0 if identical
Compares two given date vecotrs [1x3] or [1x6], and returns the difference in seconds.
(not matrix aware)
No warranty, there are no inputchecks.
diff = compare_date([2010,8,24,12,0,0], [2010,8,24,12,0,15]) | ![]() | ![]() |