powered by
Function recognize date variables and modify them to ISO standard ("International Organization for Standardization")
dfiso(df)
dates formatted to ISO standard (yyyy-mm-dd)
data frame or variable/s, for example data.frame(date=c("12-Mar-2021","01-Jan-2023"))
Lukasz Andrzejewski
# data frame with different formatted dates dfiso(data.frame(date1=c("13-02-2022","13/Feb/2022","13-Feb-2022")))
Run the code above in your browser using DataLab