months_ago: The date x months ago

View source: R/instants.R

months_agoR Documentation

The date x months ago

Description

The date x months ago

Usage

months_ago(months = 0, tzone = "")

Arguments

months

an integer specifying th enumber 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 months ago

Examples

months_ago(1)
months_ago(12)

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