format.chron | R Documentation |
Format a chron object.
## S3 method for class 'chron'
format(x, format = att$format, origin. = att$origin,
sep = " ", simplify, enclosed = c("(", ")"), ...)
x |
A chron object. |
format |
As in |
origin. |
As in |
sep |
A character string that separates the dates and times in the output. Ignored
if percent codes are used in |
simplify |
As in |
enclosed |
A character vector of length 2 containing the strings that begin and end
each output date/time.
Ignored if percent codes are used in |
... |
Not currently used. |
A character vector.
chron
.
format.dates
.
strptime
.
format(chron(0, 0), c("yy/m/d", "h:m:s"), sep = "T", enclosed = c("", ""))
format(chron(0, 0), "%Y-%m-%dT%H:%M:%S") # same
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.