powered by
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)
is.timepoint(x)
TRUE if x is a POSIXct, POSIXlt, or Date object, FALSE otherwise.
an R object
is.timespan(), is.POSIXt(), is.Date()
is.timespan()
is.POSIXt()
is.Date()
is.instant(as.Date("2009-08-03")) # TRUE is.timepoint(5) # FALSE
Run the code above in your browser using DataLab