as.Date.jul {tis} | R Documentation |
Methods to convert ti
and jul
objects to class
"Date"
representing calendar dates.
## S3 method for class 'ti': as.Date(x, ...) ## S3 method for class 'jul': as.Date(x, ...)
x |
A ti or jul object to be converted. |
... |
Ignored. |
An object of class "Date"
.
as.Date
for the generic function, Date for
details of the date class.
as.Date(today()) ## invokes as.Date.ti as.Date(jul(today() - 7)) ## a week ago, uses as.Date.jul