I have some MATLAB serial date number that I need to use in R but I havt to convert them to a normal date.
    Matlab:
   datestr(733038.6)
    ans =
    27-Dec-2006 14:24:00 
you can see it gives the date and time.
Now we try in R:
Matlab2Rdate <- function(val) as.Date(val - 1, origin = '0000-01-01') 
> Matlab2Rdate(733038.6)
[1] "2006-12-27"
It gives only the date but I need also the time? Any idea
 
    