may help you . I didn't see this simple solution in the linked questions, so I'm adding it here too. In base R you can simply use as.POSIXlt class which provides year attribute. You can then simply reduce 100 years.
Date <- as.POSIXlt(Date, format = "%y-%m-%d")
Date$year <- Date$year - 100L
Date # Alternatively, you could also do `as.Date(Date)`
##  "1965-05-14 IDT" "1915-05-14 IDT" "1925-05-14 IDT" "1934-05-14 IDT"
Php date function result is incorrect
By : user3903391
Date : March 29 2020, 07:55 AM
This might help you You have a typo. The 2nd argument to explode() should be $dated, rather than $date. If you do this, the time is correctly displayed.
Hope this helps You can always use nsdateformatter.com to check if your dateFormat for your formatter is correct (next to the Examples check Reference which shows you what each letter/letters represent). In your case, you have to be carefull on dateFormat's case sensitive. Days and years are represented by small letters