fy_short | R Documentation |
Formats date from date or POSIX class to a text string giving the financial year as 'yy/yy'
fy_short(date_var, sep = "/")
date_var |
A date variable in class Date or POSIX |
sep |
A separator between two years. Defaults to "/" |
A text string giving the financial year.
fy_long
x <- lubridate::dmy("01/01/2001")
fy_short(x)
fy_short(x, sep = "_")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.