I would like to transform January 2, 2018 at 02:55PM
to datetime format .
I use the package anytime. I added a new format addFormats("%B %d, %Y at %I:%M%p")
but it doesn't work.
anytime(data$Date)
returns "2018-01-02 CET". I lose the hour..
I would like to transform January 2, 2018 at 02:55PM
to datetime format .
I use the package anytime. I added a new format addFormats("%B %d, %Y at %I:%M%p")
but it doesn't work.
anytime(data$Date)
returns "2018-01-02 CET". I lose the hour..