powered by
The date before a specified date by date_range.
date_from(date_range, to = Sys.Date(), default_from = "1000-01-01")
It returns the start date of a date_range with a specified end date.
date range, available value including nd, nm, mtd, qtd, ytd, ny, max.
a date, default is current system date.
the default date when date_range is sett to max
date_from(3) date_from('3d') date_from('3m') date_from('3q') date_from('3y') date_from('mtd') date_from('qtd') date_from('ytd')
Run the code above in your browser using DataLab