Is x a date-time object?
An instant is a specific moment in time. Most common date-time objects (e.g, POSIXct, POSIXlt, and Date objects) are instants.
is.instant(x) is.timepoint(x)
x |
an R object |
TRUE if x is a POSIXct, POSIXlt, or Date object, FALSE otherwise.
is.instant(as.Date("2009-08-03")) # TRUE is.timepoint(5) # FALSE
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.