ic_char_datetime: Convert datetime object to character string

Description Usage Arguments Examples

Description

Convert datetime object to character string

Usage

1

Arguments

x

datetime object

zulu

is the datetime in Zulu time? FALSE by default, which means the calendar's current timezone is used.

Examples

1
2
3
4
5
x <- ic_datetime("20180809T160000")
ic_char_datetime(x) == "20180809T160000"
x <- ic_datetime("20180809T160000Z")
ic_char_datetime(x, zulu = TRUE) == "20180809T160000Z"
ic_char_date(as.Date("1985-12-26"))

ATFutures/ical documentation built on May 26, 2019, 3:36 p.m.