ConvertDateToISO8601: Converts a date to a formatted ISO8601 date

Description Usage Arguments Value Examples

Description

Converts a date to a formatted ISO8601 date

Usage

1

Arguments

date

a date, either as character string or POSIXct object.

tz

the timezone of the date (relevant if only when date is POSIXct).

Value

an ISO8601 formatted date character string .

Examples

1
2
ConvertDateToISO8601(date = as.POSIXct("2017-01-01"), tz = "GMT")
ConvertDateToISO8601(date = "2017-01-01")

Sensewaves/AdaptixR documentation built on May 28, 2019, 2:44 p.m.