View source: R/ojo_fiscal_year.R
ojo_fiscal_year | R Documentation |
Returns the Oklahoma state fiscal year (July 1 - June 30) in which a given Date falls.
ojo_fiscal_year(date)
date |
An atomic value of class Date |
Fiscal year of a Date as an integer
## Not run:
ojo_fiscal_year(ymd("2018-06-30"))
# Returns 2018
ojo_fiscal_year(ymd("2018-07-01"))
# Returns 2019
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.