> lubridate::dmy("2022-03-21") + lubridate::days(7) [1] NA Warning message: All formats failed to parse. No formats found. > > anytime::anydate("2022-03-21") + 7 [1] "2022-03-28" > Always happy to help another #rstats user πŸ˜‰
πšπš–πš’("𝟸𝟢𝟸𝟸-𝟢𝟹-𝟸𝟷") + 𝚍𝚊𝚒𝚜(𝟽) That's right, for folks planning to submit your talk for consideration at πš›πšœπšπšžπšπš’πš˜::πšŒπš˜πš—πš(𝟸𝟢𝟸𝟸), we’re extending the deadline to March 28. #rstudioconf #rstudioconf2022
3
6
59
Thanks all: I am (of course) aware of `ymd()`, the point of the tweet was that `anydate()` avoids all this automagically. Plus, as @shabbychef reminded us, base #Rstats was there first (for this value) as `as.Date("2022-03-21") + 7` also works. Peace out.

Mar 20, 2022 Β· 2:10 PM UTC

1
1
4