datetime_to_timestamp: Date to timestamps

Description Usage Arguments Examples

View source: R/helpers.R

Description

Turn a date time vector to timestamp format

Usage

1
2
3

Arguments

dt

Date or datetime vector

Examples

1
2
3
4
5
datetime_to_timestamp(
  as.Date(c("2015-05-08", "2015-09-12"),
    format = "%Y-%m-%d"
  )
)

highcharter documentation built on Jan. 3, 2022, 5:08 p.m.