Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

today

Time Index for the Current Date


Description

Returns a ti for the current date.

Usage

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


tis

Time Indexes and Time Indexed Series

v1.38
Unlimited
Authors
Jeff Hallman <jeffhallman@gmail.com>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.