date_to_isoyearquarter_c: ISO year and quarter (character) from Date object

View source: R/conversion_date_isoweek_isoyear.R

date_to_isoyearquarter_cR Documentation

ISO year and quarter (character) from Date object

Description

ISO year and quarter (character) from Date object

Usage

date_to_isoyearquarter_c(x = lubridate::today())

## Default S3 method:
date_to_isoyearquarter_c(x)

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

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

Arguments

x

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

Value

ISO year and quarter in character

Examples

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

cstime documentation built on Nov. 5, 2025, 5:47 p.m.