as_POSIXct | R Documentation |
Convert a Date, character, or POSIXlt to POSIXct
as_POSIXct( x, time = "00:00:00", tz = "UTC", format = "%Y-%m-%d %H:%M:%S" )
x |
vector of Date objects |
time |
character time of day, defaults to '00:00:00' |
tz |
character time zone, defaults to 'UTC' |
format |
for character inputs, the format defaults to 'YYYY-mm-dd HH:MM:SS' |
POSIXct equivalent of input
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.