days_hence: The date x days hence

View source: R/instants.R

days_henceR Documentation

The date x days hence

Description

The date x days hence

Usage

days_hence(days = 0, tzone = "")

Arguments

days

an integer specifying the number of days to add 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 datetime, x days from now

Examples

days_hence(3)
days_hence(1) == tomorrow()

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