Skip to contents

Convert a year vector from the alternate format '2017' to financial year format '2017'.

Usage

convert_year_to_fyyear(year)

Arguments

year

vector of years in the form '2017'

Value

a vector of years in the normal financial year form '1718'

See also

Other year functions: check_year_format(), convert_fyyear_to_year()

Examples

years <- c("2017", "2018")
convert_year_to_fyyear(years)
#> [1] "1718" "1819"