is.instant

0th

Percentile

Is x a date-time object?

Is x a date-time object?

Keywords
logic, chron
Usage
is.instant(x)
Arguments
x
an R object
Details

date-time object denote instants in time.

Value

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

See Also

is.timespan, is.POSIXt, is.Date

Aliases
  • is.timepoint
  • timepoint
  • is.instant
  • instant
Examples
is.instant(as.Date("2009-08-03")) # TRUE
is.timepoint(5) # FALSE}
Documentation reproduced from package lubridate, version 0.1, License: GPL

Community examples

Looks like there are no examples yet.