Returns the current year as a year vector, in the era system specified by
era
.
Arguments
- era
An
era
object or label understood byera()
. Defaults to the Common Era (era("CE")
).
See also
Other era helper functions:
era
,
era_parameters
,
era_year
,
era_year_parameters
,
is_era()
,
is_era_year()
,
is_yr()
Examples
# This year in the Common Era
this_year()
#> # CE years <yr[1]>:
#> [1] 2024
#> # Era: Common Era (CE): Gregorian years (365.2425 days), counted forwards from 0
# This year in the Holocene Epoch
this_year("HE")
#> # HE years <yr[1]>:
#> [1] 12024
#> # Era: Holocene Era (HE): Gregorian years (365.2425 days), counted forwards from -10000