Return the fixed date of the k-day nearest fixed date 'date'
Source:R/cycles_of_days.R
kday_nearest.Rd
Return the fixed date of the k-day nearest fixed date 'date'
Arguments
- k
the weekday; k=0 means Sunday, k=1 means Monday, and so on.
- date
a fixed date, i.e. a number of (eventually partial) days since epoch
See also
Other cycles of days helpers:
kday_after()
,
kday_before()
,
kday_on_or_before()