financial_year: Find the financial year for a month and calendar year

Description Usage Arguments Details Value Examples

View source: R/financial_year.R

Description

Shows the financial year (as a string) for a given month and calendar year.

Usage

1
financial_year(month, calendar_year)

Arguments

month

Month for which the FY is wanted.

calendar_year

The calendar year.

Details

A new financial year starts with April, so e.g. 3, 2021 will return "2020-21", but 4, 2021 returns "2021-22".

Value

The financial year as a string

Examples

1
find_financial_year(4, 2021)

n-fanton/ndr documentation built on Dec. 21, 2021, 11:07 p.m.