The time x minutes before now

minutes_ago(minutes = 0, tzone = "")

Arguments

minutes

integer number of minutes

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 time, x minutes ago

Examples

minutes_ago(1)
#> [1] "2022-03-23 15:53:38 UTC"
minutes_ago(60)
#> [1] "2022-03-23 14:54:38 UTC"