View source: R/date_to_fmonth.R
date_to_fmonth | R Documentation |
Convert dates to months of financial year
date_to_fmonth(x)
x |
a date value |
a numeric value for the month of financial year, e.g. 1 for April, and 12 for March
date_to_fmonth(lubridate::dmy("01-01-2018"))
date_to_fmonth(lubridate::dmy("01-02-2018"))
date_to_fmonth(lubridate::dmy("01-03-2018"))
date_to_fmonth(lubridate::dmy("01-04-2018"))
date_to_fmonth(lubridate::dmy("01-12-2018"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.