powered by
Turn a date time vector to timestamp format
timestamp
datetime_to_timestamp(dt)dt_tstp(dt)
dt_tstp(dt)
Date or datetime vector
# NOT RUN { datetime_to_timestamp( as.Date(c("2015-05-08", "2015-09-12"), format = "%Y-%m-%d" ) ) # }
Run the code above in your browser using DataLab