Helper function: convert to ISO datetime

to_iso_datetime(datetime)

Arguments

datetime

date time string as returned by Sys.time()

Value

reformats to ISO datetime

Examples

to_iso_datetime(Sys.time())
#> [1] "2021-06-04T13:04:56"