is.POSIXt

0th

Percentile

Is x a POSIXct or POSIXlt object?

Is x a POSIXct or POSIXlt object?

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

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

See Also

is.instant, is.timespan, is.Date

Aliases
  • is.POSIXct
  • is.POSIXlt
  • is.POSIXt
Examples
is.POSIXt(as.Date("2009-08-03")) # FALSE
is.POSIXt(as.POSIXct("2009-08-03")) # TRUE
Documentation reproduced from package lubridate, version 1.5.6, License: GPL-2

Community examples

Looks like there are no examples yet.