Hi Everyone,
I want to calculate a weeks start date given week number and year.
For that, I tried to use as.Date function and formatting stated below. But the same function is not working or it is returning NA when week number is 53.
+ format = "%Y-%U-%u")
[1] "2020-12-28"
> as.Date(x = "2020-53-1",
+ format = "%Y-%U-%u")
[1] NA```. It seems it is not working for week number 53/ or it is giving output a week ahead.