[R] replaing 1-digit months with 2-digit months in a date

Dimitri Liakhovitski dimitri.liakhovitski at gmail.com
Tue Nov 9 18:28:19 CET 2010

Hello again!

Sorry, if it's a simple question - I am very bad in working with strings.

I have a vector of strings:

I'd like to change it so that it the month always has 2 digits, like this:


Is it possible?
Thanks a lot!
Dimitri Liakhovitski
Ninah Consulting

More information about the R-help mailing list