search for: anydate

Displaying 4 results from an estimated 4 matches for "anydate".

Did you mean: anydata
2018 Mar 05
0
Interpret List Label as Date from Quantmod getOptionChain
...ot;Aug.17.2018" "Sep.21.2018" "Oct.19.2018" "Nov.16.2018" "Jan.18.2019" "Jun.21.2019" [15] "Jan.17.2020" "Jun.19.2020" R> library(anytime) # one of many tools to parse dates, this one is easiest in my biased view R> anydate(names(aapl_total)) [1] "2018-03-09" "2018-03-23" "2018-03-29" "2018-04-06" "2018-04-13" "2018-04-20" "2018-05-18" [8] "2018-06-15" "2018-08-17" "2018-09-21" "2018-10-19" "2018-11-16&...
2018 Mar 05
2
Interpret List Label as Date from Quantmod getOptionChain
Hi Dirk, Thanks for your note. I understand that expiry dates are the dates that the option expires, so I don't think that I am confused about that (although the upper limits of one's confusion is difficult to accurately estimate). My lack of clarity come from treating those "dates" as actual dates as opposed to strings, which one could reasonably interpret them to be from
2023 Apr 12
1
converting to date object...
That is what I wrote the anytime package for: effortless automatic parsing. Also works for dates: > library(anytime) > anydate("12 APR 2023") [1] "2023-04-12" > Dirk -- dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
2023 Apr 12
3
converting to date object...
dear members, I want to convert "12 APR 2023" into a Date object. I tried as_Date() from lubridate, but it is not working: > as_date("12 APR 2023") [1] NA Warning message: All formats failed to parse. No formats found. > as_date("12-APR-2023") [1] NA Warning message: All formats failed to parse. No formats found. I am looking for a