day_of_year: First and last day of a year

first_day_of_yearR Documentation

First and last day of a year

Description

Get the first and last day of a year.

Usage

first_day_of_year(year = NULL)

last_day_of_year(year = NULL)

Arguments

year

Numeric value with year (format: YYYY).

Value

Character string with date (format: YYYY-MM-DD).

See Also

Helper functions: climaemet_news(), dms2decdegrees()

Examples

first_day_of_year(2000)
last_day_of_year(2020)

climaemet documentation built on June 3, 2026, 5:07 p.m.