to_times | R Documentation |
Create a times
object in the chron
package by taking only the elements of time from a POSIXlt
or POSIXct
object or chron
object in chron
package.
to_times(x, tz = "")
x |
|
tz |
a character string specifying the time zone to be used for
the conversion. System-specific (see |
If the POSIXct
object differs from the system time zone, the time zone must also be specified within to_times
.
x <- as.POSIXlt(Sys.time())
to_times(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.