I have this date in string format
v<- "31/06/23"
It's 31 of June of 2023
class(v)
[1] "character"
The dmy() lubridate function doesn't work
dmy(v)
[1] NA
Warning message:
1 failed to parse.
Also other codes
as.Date(v, format = "%d/%m/%Y")
[1] NA
If I try as.Date() function it returns 31 as year
as.Date(v)
[1] "0031-06-23"
How can I do?