Skip to contents

Get the date of the midpoint of the specified financial year

Usage

midpoint_fy(year, format = c("fyyear", "alternate"))

Arguments

year

a character vector of years

format

the format of the year vector, default is financial year

Value

a vector of dates of the mid date of the FY year

Examples

midpoint_fy("1718")
#> [1] "2017-09-30"