
format
formats a jul or time index object for printing.
as.character
for a jul
or ti
object is
essentially just an alias for format
.## S3 method for class 'ti':
format(x, ..., tz = "")
## S3 method for class 'jul':
format(x, ...)
## S3 method for class 'ti':
as.character(x, ...)
## S3 method for class 'jul':
as.character(x, ...)
jul
or ti
(time index) objectx
has an intraday frequency. System-specific, but ""
is
the current time zone, and "GMT"
is UTC.format.POSIXlt
.x
as.character
methods do nothing but call the corresponding
format
methods.
x
is converted to a POSIXlt
object and then
format.POSIXlt
takes over.format.POSIXlt
, strftime
format(today() + 0:9, "%x")
as.character(jul(today()))
Run the code above in your browser using DataLab