date_to_calyearmonth_c {cstime} | R Documentation |
Date -> calyearmonth (character)
date_to_calyearmonth_c(x = lubridate::today())
## Default S3 method:
date_to_calyearmonth_c(x)
## S3 method for class 'character'
date_to_calyearmonth_c(x = lubridate::today())
## S3 method for class 'Date'
date_to_calyearmonth_c(x = lubridate::today())
x |
a Date object or string, in the form of 'yyyy-mm-dd' |
calyearmonth ("YYYY-MXX")
date_to_calyearmonth_c("2021-08-11")
date_to_calyearmonth_c(lubridate::today())