IsDate.Rd
Check if the given x is of any known Date type.
IsDate(x, what = c("either", "both", "timeVaries"))
This checks for many known Date and Time classes: "POSIXt", "POSIXct", "dates", "times", "chron", "Date".
logical vector of the same dimension as x.
IsDate(as.Date("2013-04-10"))
#> [1] TRUE
IsDate(31002)
#> [1] FALSE