is.Date

0th

Percentile

Is x a Date object?

Is x a Date object?

Keywords
logic, chron
Usage
is.Date(x)
Arguments
x
an R object
Value

  • TRUE if x is a Date object, FALSE otherwise.

See Also

is.instant, is.timespan, is.POSIXt

Aliases
  • is.Date
Examples
is.Date(as.Date("2009-08-03")) # TRUE
is.Date(difftime(now() + 5, now())) # FALSE
Documentation reproduced from package lubridate, version 1.2.0, License: GPL

Community examples

Looks like there are no examples yet.