Skip to contents

Quarters are numbered 1-4 within the fiscal year defined by fy_start_month.

Usage

fy_quarter(date, fy_start_month = getOption("fundr.fy_start_month", 7L))

Arguments

date

A Date (or something coercible via as.Date()).

fy_start_month

Integer 1-12. Default uses getOption("fundr.fy_start_month", 7).

Value

Integer vector (1-4).