## timeCalendar
# Random Calendar Dates:
set.seed(1234)
tR = sample(timeCalendar())
sort(tR)
tR
## start | end
start(tR)
end(tR)
## the first and last time stamp
tR[1]
tR[length(tR)]
rev(tR)[1]
## the range
c(start(tR), end(tR))
range(tR)
Run the code above in your browser using DataLab