date_lwd {xefun} | R Documentation |
latest workday
Description
The latest workday date of n days before a specified date.
Usage
date_lwd(n, to = Sys.Date())
Arguments
n |
number of days |
to |
a date, default is current system date. |
Value
It returns the latest workday date that is n days before a specified date.
Examples
date_lwd(5)
date_lwd(3, "2016-01-01")
date_lwd(3, "20160101")
[Package xefun version 0.1.5 Index]