R Strptime Year and Month with No Delimiter returning NA

Viewed 8345

I'm probably doing something stupid and not seeing it, but:

> strptime("201101","%Y%m")
[1] NA

From help strptime:

%Y Year with century
%m Month as decimal number (01–12)

1 Answers
Related