Skip to contents

convert date to epoch time

Usage

to_epoch(date)

Arguments

date

date to be converted

Value

epoch time as integer

Examples

to_epoch("2022-12-01")
#> [1] 1669852800