Hello

I am new to R and I need to convert some dates (numeric format by matlab) to 
actual dates in R.

For instance,

Matlab -> 730456 -> >> datestr(730456)

ans =

02-Dec-1999

R - 

> library(zoo)
> as.Date(730456)
[1] "3969-12-03"

I don't not mind the output format but it needs to be right.


Many thanks

Ed

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to