View source: R/conversion_date_calmonth_calyear.R
date_to_calyear_c | R Documentation |
Date -> calyear (character)
date_to_calyear_c(x = lubridate::today())
## Default S3 method:
date_to_calyear_c(x)
## S3 method for class 'character'
date_to_calyear_c(x = lubridate::today())
## S3 method for class 'Date'
date_to_calyear_c(x = lubridate::today())
x |
a Date object or string, in the form of 'yyyy-mm-dd' |
ISO year in character
date_to_calyear_c("2021-08-11")
date_to_calyear_c(lubridate::today())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.