date_lwd {xefun} | R Documentation |
The latest workday date of n days before a specified date.
date_lwd(n, to = Sys.Date())
n |
number of days |
to |
a date, default is current system date. |
It returns the latest workday date that is n days before a specified date.
date_lwd(5)
date_lwd(3, "2016-01-01")
date_lwd(3, "20160101")