| is.POSIXt {lubridate} | R Documentation |
Is x a POSIXct or POSIXlt object?
is.POSIXt(x) is.POSIXlt(x) is.POSIXct(x)
x |
an R object |
TRUE if x is a POSIXct or POSIXlt object, FALSE otherwise.
is.instant, is.timespan, is.Date
is.POSIXt(as.Date("2009-08-03")) # FALSE
is.POSIXt(as.POSIXct("2009-08-03")) # TRUE