date_to_fyear: date_to_fyear

View source: R/date_to_fyear.R

date_to_fyearR Documentation

date_to_fyear

Description

Convert a date object to a four-digit financial year

Usage

date_to_fyear(x)

Arguments

x

A date object

Value

A numeric value giving the four-digit financial year

Examples

x <- as.Date("01/01/2017", format = "%d/%m/%Y")
date_to_fyear(x)

PublicHealthEngland/hcaidcs documentation built on Jan. 19, 2024, 8:38 a.m.