Date to Timesstamps

Description

Turn a date time vector to timestamp format

Usage

1

Arguments

dt

Date or datetime vector

Examples

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.