powered by
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.
taxYear(date = Sys.Date(), start = "04-06")
Date to be checked
Provide the month & day that will be used as the first tax day (mm-dd)
year The financial year
Other tax: calcNetIncome()
calcNetIncome()
# NOT RUN { # single set of values taxYear(Sys.Date()) # vector of values taxYear(seq(Sys.Date(),by=1,length=500)) # }
Run the code above in your browser using DataLab