calYear: calYear

View source: R/utilsDate.R

calYearR Documentation

calYear

Description

Extract the year of a date object and return it as numeric

Usage

calYear(date)

Arguments

date

A date value

Value

The calendar Year of the date as numeric

See Also

isoYear() and base::format()

Examples

calYear(Sys.Date())


Epiconcept-Paris/STRAP-epiuf documentation built on Aug. 5, 2024, 3:41 a.m.