"POSIXlt"
and
"POSIXct"
representing calendar dates and times.POSIXct(x, ...)
POSIXlt(x, ...)
## S3 method for class 'jul':
POSIXct(x, \dots)
## S3 method for class 'ti':
POSIXct(x, offset = 1, \dots)
## S3 method for class 'default':
POSIXct(x, \dots)
## S3 method for class 'jul':
POSIXlt(x, \dots)
## S3 method for class 'ti':
POSIXlt(x, \dots)
## S3 method for class 'default':
POSIXlt(x, \dots)
ti
object x
the desired time falls.
offset = 1
gives the first second of the period and
offset = 1
the last second, off
ISOdatetime
(POSIXct.jul
and
POSIXct.ti
), as.POSIXct
or as.POSIXlt
as
appropriate. May include a tz
argument to specify a
timezone, if one is requirPOSIXct
and POSIXlt
return objects of the
appropriate class. If tz
was specified it will be reflected in
the "tzone" attribute of the result.POSIXct.default
and POSIXlt.default
do nothing but call as.POSIXct
and as.POSIXlt
,
respectively. The POSIXct.ti
method can take an offset
argument as explained above, and the POSIXct.jul
method can
handle jul
objects with a fractional part. The ti
and
jul
methods for POSIXlt
just call the POSIXct
constructor and then convert it's value to a POSIXlt
object.as.POSIXct
and link{as.POSIXlt}
for the default
conversion functions, and DateTimeClasses for details of the
classes.