powered by
is.Date(x)
is.instant
is.timespan
is.POSIXt
is.Date(as.Date("2009-08-03")) # TRUE is.Date(difftime(now() + 5, now())) # FALSE
Run the code above in your browser using DataLab