PeriodNameToDate: PeriodNameToDate

View source: R/period.R

PeriodNameToDateR Documentation

PeriodNameToDate

Description

Converts a vector of period names in format yyyy, yyyy-mm, yyyy-mm-dd, mmm-mmm yy, mmm yyyy, dd/mm/yyyy and dd/mm/yyyy-dd/mm/yyyy into a Date.

Usage

PeriodNameToDate(x, by, us.format = NULL)

Arguments

x

The vector of char to convert.

by

The time aggregation. Deprecated as this can be deduced from x.

us.format

Whether to assume US date format when parsing.

See Also

AsDate

Examples

## Deprecated; use AsDate instead

NumbersInternational/flipTime documentation built on Feb. 26, 2024, 6:44 a.m.