powered by
ti
jul
"Date"
## S3 method for class 'ti': as.Date(x, \dots) ## S3 method for class 'jul': as.Date(x, \dots)
as.Date
as.Date(today()) ## invokes as.Date.ti as.Date(jul(today() - 7)) ## a week ago, uses as.Date.jul
Run the code above in your browser using DataLab