zoned_time_now | R Documentation |
zoned_time_now()
returns the current time in the corresponding zone
. It
is a wrapper around sys_time_now()
that attaches the time zone.
zoned_time_now(zone)
zone |
A time zone to get the current time for. |
The time is returned with a nanosecond precision, but the actual amount of data returned is OS dependent. Usually, information at at least the microsecond level is returned, with some platforms returning nanosecond information.
A zoned-time of the current time.
x <- zoned_time_now("America/New_York")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.