Learn R Programming

fmdates (version 0.1.4)

equinox: March and September equinox

Description

Determine the date/time of March and September Equinoxes. This implements Jean Meeus' algorithm (Astronomical Algorithms 1st Ed, 1991, Chapter 26).

Usage

equinox(years, season = "mar", tz = "UTC", want_dt = FALSE)

Arguments

years

a numeric vector of years

season

defines the Equinox sought. Can be mar (default) or sep.

tz

time zone for which equinox instant should be returned (default: "UTC")

want_dt

a flag indicating whether the returned date should be in dynamical time (default: FALSE)

Value

the date-time (UTC) of the Equinox (drop sub-minute precision)