powered by
POSIXct() mirrors primitive constructors in base R (double(), character() etc.)
POSIXct()
double()
character()
is.POSIXt(x)is.POSIXlt(x)is.POSIXct(x)POSIXct(length = 0L, tz = "UTC")NA_POSIXct_
is.POSIXlt(x)
is.POSIXct(x)
POSIXct(length = 0L, tz = "UTC")
NA_POSIXct_
TRUE if x is a POSIXct or POSIXlt object, FALSE otherwise.
An object of class POSIXct (inherits from POSIXt) of length 1.
POSIXct
POSIXt
an R object
A non-negative number specifying the desired length. Supplying an argument of length other than one is an error.
a timezone (defaults to "utc")
is.instant(), is.timespan(), is.Date()
is.instant()
is.timespan()
is.Date()
is.POSIXt(as.Date("2009-08-03")) is.POSIXt(as.POSIXct("2009-08-03"))
Run the code above in your browser using DataLab