powered by
Used to verify that the object is one of the known time-based classes in R.
is.timeBased(x) timeBased(x)
object to test
Logical
Current time-based objects supported are Date, POSIXct, chron, yearmon, yearqtr, and timeDate.
Date
POSIXct
chron
yearmon
yearqtr
timeDate
# NOT RUN { timeBased(Sys.time()) timeBased(Sys.Date()) timeBased(200701) # }
Run the code above in your browser using DataLab