In a Serial data receiving process, I have a incoming data
press = {'2016-04-14' '14:18:48' '321'};datenum(datestr(cellfun(@(x,y) [x y],press(1),press(2),'un',0)));
Here, the result of date time serial from above step,
ans = 7.3648e+05
When I convert back, the result is giving a different time into the future:
datestr(ans)ans = 29-May-2016 22:18:48
where this is working wrong?
Best Answer