powered by
Calculate the date before / after months
edate(ref_date, months)
a Date vector
the number of months that's added to ref_date
ref_date
edate(as.Date("2020-01-31"), 1) ## supports 'YMD' formatted integer or string edate(200131, 1) edate(200229, -12)
Run the code above in your browser using DataLab