dateToDaysOld {jamba} | R Documentation |
convert date to age in days
Description
convert date to age in days
Usage
dateToDaysOld(testDate, nowDate = Sys.Date(), units = "days", ...)
Arguments
testDate |
|
nowDate |
|
units |
|
... |
additional parameters are ignored. |
Value
integer value with the number of calendar days before the
current date, or the nowDate
if supplied.
See Also
Other jam date functions:
asDate()
,
getDate()
Examples
dateToDaysOld("23aug2007")
[Package jamba version 1.0.4 Index]