format_iso_8601z: Parse datetime to ISO 8601 format

View source: R/harmonised-writing.R

format_iso_8601zR Documentation

Parse datetime to ISO 8601 format

Description

This function parses the format of a POSIXct object to ISO 8601 with Zulu as UTC timezone definition. For instance: 2020-01-01 03:00:00 Europe/Madrid –> "2020-01-01T02:00:00Z"

Usage

format_iso_8601z(datetimes)

Arguments

datetimes

<array> of POSIXct in any timezone.

Value

<array> of string with ISO 8601 format.


biggproject/biggr documentation built on Oct. 2, 2024, 11:13 p.m.