Hello,

If I have a character string like

d <- c("1990m3", "1992m8") #March 1990 and Aug 1992

what is the easiest way to convert it into any standard date form; for
example,

d <- c("01/03/1990", "01/08/1992") 

I looked at as.Date but it doesn't seem to address my problem as I have an
"m" stuck in the middle of my character string which R does not recognise.

Would be very grateful for any help on this. 

Shruthi
-- 
View this message in context: 
http://www.nabble.com/Parsing-unusual-date-format-tp21067562p21067562.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
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