Learn R Programming

highcharter (version 0.3.0)

datetime_to_timestamp: Date to Timesstamps

Description

Turn a date time vector to timestamp format

Usage

datetime_to_timestamp(dt)

Arguments

dt
Date or datetime vector

Examples

Run this code

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

Run the code above in your browser using DataLab