powered by
Find unique forms of inputs
sample_date_string_styles(x)
The indices of the first instance of unique datatime formats
A character vector of datetime strings
character
x <- c("2022", "T02:01", "2023", "Y1970", "2021-01", "2024-12") x[parttime:::sample_date_string_styles(x)]
Run the code above in your browser using DataLab