today: Compute today's date as POSIXct

View source: R/datetime.R

todayR Documentation

Compute today's date as POSIXct

Description

Compute today's date as POSIXct

Usage

today(x, form = c("POSIXct", "Date", "%Y-%m-%d", "week", "season")[2])

Arguments

x

Date or POSIXct or charcater date to be converted with as_POSIXct()

form

the form of the date returned, possible a formatting pattern

Value

POSIXct or Date


BigelowLab/dismotools documentation built on Jan. 4, 2023, 11:24 a.m.