today: Time Index for the Current Date

Description Usage Arguments Value See Also

View source: R/convenientTi.R

Description

Returns a ti for the current date.

Usage

1
today(tif = "daily")

Arguments

tif

a ti Frequency, given as either a numerical code or a string. tif() with no arguments returns a list of the allowable numerical codes and names. The default "daily" returns a ti object for the current day.

Value

A ti object of the specified ti frequency that contains the current date in the time interval it represents. For example, if tif is "monthly", the returned ti object will be for the current month.

See Also

ti, Sys.Date


tis documentation built on Sept. 29, 2021, 1:06 a.m.