View source: R/date_to_fyear.R
date_to_fyear | R Documentation |
Convert a date object to a four-digit financial year
date_to_fyear(x)
x |
A date object |
A numeric value giving the four-digit financial year
x <- as.Date("01/01/2017", format = "%d/%m/%Y")
date_to_fyear(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.