Last chance! 50% off unlimited learning
Sale ends in
Is x a POSIXct or POSIXlt object?
is.POSIXt(x)is.POSIXlt(x)
is.POSIXct(x)
an R object
TRUE if x is a POSIXct or POSIXlt object, FALSE otherwise.
# NOT RUN {
is.POSIXt(as.Date("2009-08-03")) # FALSE
is.POSIXt(as.POSIXct("2009-08-03")) # TRUE
# }
Run the code above in your browser using DataLab