Looking to reformat a column pulled from Excel into a dataframe that contains the numeric Excel format (e.g. 40182).
as.date(40182, origin = "1899-12-30", format = '%b-%Y')
Returns:
[1] 5Jan2070
I'm looking for more along the lines of Jan-14 (short month, short year).
Being fairly new to R, I have been unable to determine what the cause of this is. Switching the origin date doesn't seem to change anything either. Any help?