convert_date_to_qtr: Convert Date to FY Quarter/Period

View source: R/covert_date_period.R

convert_date_to_qtrR Documentation

Convert Date to FY Quarter/Period

Description

Convert Date to FY Quarter/Period

Usage

convert_date_to_qtr(date)

Arguments

date

date formatted like 2021-10-01

Value

vector of FY period, eg FY22Q1

See Also

Other period: convert_datim_pd_to_qtr(), convert_fy_qtr_to_pd(), convert_qtr_to_date()

Examples

## Not run: 
dates <- c("2021-10-01", "2021-11-15")
convert_date_to_qtr(dates) 
## End(Not run)


USAID-OHA-SI/glamr documentation built on Oct. 1, 2024, 2:18 p.m.