isoYear: isoYear

isoYearR Documentation

isoYear

Description

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

Usage

isoYear(date)

Arguments

date

A date value

Value

The ISO year of the date value which may be different from the calendar Year

See Also

calYear(), isoYearWeek(), isoWeek() and base::format()

Examples

isoYear(Sys.Date())
isoYear(as.Date("2019-12-31"))


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