Module apsis::date[][src]

Functions related to dates

Enums

Calendar
DayOfWeek

Constants

EARLIEST_VALID_GREGORIAN_YEAR

Functions

date_from_day_of_year

Finds the date from the given year and day number. This function returns the corresponding month and day.

day_of_week
day_of_year

Finds the day number in the given year, ranging from 1 to 365 (or 366 in the case of leap years)

gregorian_easter

Computes the date of Easter Sunday for the given year in the Gregorian calendar.

hebrew_year

Computes the Hebrew year for the given Julian or Gregorian year.

interval_in_days

Finds the number of days between the two given dates

is_leap_year

Tests if the given year is a leap year

jd_to_mjd

Converts a given Julian Day to a Modified Julian Day

julian_day

Computes the Julian Day for the given date.

julian_day_to_calendar_date

Converts the given Julian Day to a calendar date.

julian_easter

Computes the date of Easter Sunday in the Julian calendar.

mjd_to_jd

Converts a given Modified Julian Day to a Julian Day

modified_julian_day

This function computes the Modified Julian Day (MJD) for the given date. See the julian_day function for which inputs are valid.

number_of_months_in_hebrew_year

Computes the number of months (12 or 13) in the given Hebrew year

passover_date

Computes the date of Passover (Pesach) in the given year in the Julian or Gregorian calendar.