powered by
The latest workday date of n days before a specified date.
date_lwd(n, to = Sys.Date())
It returns the latest workday date that is n days before a specified date.
number of days
a date, default is current system date.
date_lwd(5) date_lwd(3, "2016-01-01") date_lwd(3, "20160101")
Run the code above in your browser using DataLab