The time x seconds before now

seconds_hence(seconds = 0, tzone = "")

Arguments

seconds

integer number of seconds

tzone

a character vector specifying which time zone you would like to find the previous date of. tzone defaults to the system time zone set on your computer.

Value

The datetime, x seconds from now

Examples

seconds_hence(60)
#> [1] "2022-03-23 15:55:40.547847 UTC"
seconds_hence(3600)
#> [1] "2022-03-23 16:54:40.550426 UTC"