Dear R-List
I have a date column formatted dd.mm.yyyy separated by points that was converted
into a number using as.integer(date). Now I wish to convert the number back into
the original date. Something like:
date<-as.factor(c("07.12.2010","29.04.2013"))
dd<-as.integer(date)
as.Date(dd, origin="%d.%m.%Y")# does not work
Is there a way to convert "dd" back to "date"?
Thank you for help!
Best wishes
Alain
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list -- To UNSUBSCRIBE and more, see
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.