date_to_index: Convert date-likes to time index

View source: R/utils.R

date_to_indexR Documentation

Convert date-likes to time index

Description

Convert date-likes to time index

Usage

date_to_index(x)

Arguments

x

The Date or Y-m-d string to convert

Value

The numeric representation of the date that can be used with ts

Examples

## Not run: date_to_index("2020-07-01")

timeseriesdb documentation built on March 24, 2022, 1:06 a.m.