datetime_to_timestamp: Date to timestamps

View source: R/helpers.R

datetime_to_timestampR Documentation

Date to timestamps

Description

Turn a date time vector to timestamp format

Usage

datetime_to_timestamp(dt)

dt_tstp(dt)

Arguments

dt

Date or datetime vector

Examples


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

jbkunst/highcharter documentation built on March 14, 2024, 12:52 a.m.