weeks_ago: The date x weeks ago

View source: R/instants.R

weeks_agoR Documentation

The date x weeks ago

Description

The date x weeks ago

Usage

weeks_ago(weeks = 0, tzone = "")

Arguments

weeks

an integer specifying the number of weeks to subtract from the current

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 date, x weeks ago

Examples

weeks_ago(1)
weeks_ago(52)

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