Java Mailing List Archive

http://www.r-help.com/

Home » R Help for Statistical Computing »

[R] How to format dates (with no century)?

johannes rara

2010-03-12

Replies: Find Java Web Hosting

Author LoginPost Reply
Hi,

I have dates in this kind of format (day, month, year):

> dput(head(dates, 10))
c("6.4.7", "29.12.98", "19.10.91", "20.6.92", "2.9.3", "23.6.3",
"13.7.93", "23.3.7", "26.6.95", "15.2.10")

So, as you can see, there is no century. How can I change this
character data into dates? Any help would be most appreciated.

-J

______________________________________________
R-help@(protected)
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.
©2008 r-help.com - Jax Systems, LLC, U.S.A.