presentTime | R Documentation |
Get the Present Time, in a Stated Timezone
presentTime(tz = "UTC")
tz |
String indicating the desired timezone. The default is
to use UTC, which is used very commonly in oceanographic work. To
get the local time, use |
A POSIXct()
-style object holding the present time, in the
indicated timezone.
presentTime() # UTC
presentTime("") # the local timezone
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.