Skip to content

Commit 285dbd8

Browse files
committed
fix date conversion
1 parent f64e721 commit 285dbd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
function converted = convertDate(date)
2-
converted = (date - datenum(1970,0,0))*1000*60*60*(23 + 56/60);
2+
converted = (date - datenum(1969,12,31,19,00,00))*1000*60*60*24;
33
end

0 commit comments

Comments
 (0)