Suppose I'm converting the below date from character to simple date format in R.
character_date <- "19-Jan-44"
date <- as.Date(strptime(x = as.character(character_date), format= "%d-%b-%y"))
> date
[1] "2044-01-19"
R assumes it's 2044 instead of 1944 (which is the desired), how do I tell R which year it actually was?
Thanks a lot!