R/utils.R
to_epoch.Rd
convert date to epoch time
to_epoch(date)
date to be converted
epoch time as integer
to_epoch("2022-12-01") #> [1] 1669852800