Skip to contents

This function converts financial year variables back into 201617 format.

Usage

format_fy_reverse(year)

Arguments

year

Financial year, a single value or a vector

Value

Character vector of unformatted 6 digit years

Details

It accepts character arguments.

See also

Examples

format_fy_reverse("2016-17")
#> [1] "201617"
format_fy_reverse(c("2016-17", "2017-18"))
#> [1] "201617" "201718"