extract_fin_year takes a date and extracts the
correct financial year in the PHS specified format from it.
Arguments
- date
A date which must be supplied with
Date,POSIXct,POSIXltorPOSIXtclass.base::as.Date(),lubridate::dmy()andas.POSIXct()are examples of functions which can be used to store dates as an appropriate class.