Description Usage Arguments Value See Also Examples

Returns a vector with the current date and time in the UTC time zone.

1 |

`length` |
Positive integer (scalar) indicating the length of the returned vector. If length is a vector of multiple elements, only the first element is taken into account. |

A POSIXct vector of size `length`

with the `tzone`

attribute set to "UTC".

1 2 | ```
now_utc(0)
# returns "POSIXct of length 0"
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.