date_to_calmonth_c: Date -> calmonth (character)

View source: R/conversion_date_calmonth_calyear.R

date_to_calmonth_cR Documentation

Date -> calmonth (character)

Description

Date -> calmonth (character)

Usage

date_to_calmonth_c(x = lubridate::today())

## Default S3 method:
date_to_calmonth_c(x)

## S3 method for class 'character'
date_to_calmonth_c(x = lubridate::today())

## S3 method for class 'Date'
date_to_calmonth_c(x = lubridate::today())

Arguments

x

a Date object or string, in the form of 'yyyy-mm-dd'

Value

calmonth ("XX")

Examples

date_to_calmonth_c("2021-08-11")
date_to_calmonth_c(lubridate::today())

cstime documentation built on May 31, 2023, 9:27 p.m.