ask lubridate question

# Specify order to include "dOmY", "OmY" and "Y"
short_dates <- c("11 December 1282", "May 1372", "1253")
parse_date_time(short_dates, orders = c("dOmY", "OmY", "Y"))

I'm confused about Om here.

Om matches numeric month and English alphabetic months (Both, long and abbreviated forms).

https://www.rdocumentation.org/packages/lubridate/versions/1.7.9/topics/parse_date_time

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.