hours_ago: the time x hours ago

View source: R/instants.R

hours_agoR Documentation

the time x hours ago

Description

the time x hours ago

Usage

hours_ago(hours = 0, tzone = "")

Arguments

hours

integer number of hours

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 hours ago

Examples

hours_ago(1)
hours_ago(24)

ellisvalentiner/lubridateExtras documentation built on March 31, 2022, 8:52 a.m.