I have trouble with this:

as.Date("Sep-1981", format="%b-%Y")

Returns "NA"

>From documentation for strftime

 '%b' Abbreviated month name in the current locale. (Also matches
          full name on input.)

   '%Y' Year with century.

What am I doing wrong?

cheers
Worik

        [[alternative HTML version deleted]]

______________________________________________
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