taxYear: Returns the UK financial tax year for a given date

View source: R/taxYear.R

taxYearR Documentation

Returns the UK financial tax year for a given date

Description

Based on UK tax year April 6 - April 5, this returns the year (YYYY) the tax period covers. Tax Year start date can be overriden.

Usage

taxYear(date = Sys.Date(), start = "04-06")

Arguments

date

Date to be checked

start

Provide the month & day that will be used as the first tax day (mm-dd)

Value

year The financial year

See Also

Other tax: calcNetIncome()

Examples

# single set of values
taxYear(Sys.Date()) 

# vector of values
taxYear(seq(Sys.Date(),by=1,length=500))


optiRum documentation built on May 5, 2022, 1:05 a.m.