Convert Single Digit Month and Day to POSIXct
as.POSIXct('2/5/2010',format='%m/%d/%Y')
see ?strptime
for formatting options.
In R, use
strptime('2/5/2010', "%m/%d/%Y")
The documentation of strptime is misleading.
%m and %d can deal with both single digit month R and dual dig