Looking at time format specifiers I don't see any options for dates like 2/5/2010
(Month/Day/Year, single digit, no leading spaces). Are there any built in methods for converting dates in this format?
as.POSIXct('2/5/2010',format='%m/%d/%Y')
see ?strptime
for formatting options.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With