Learn R Programming

calcal (version 1.0.0)

egyptian_date: Egyptian and Armenian calendar dates

Description

The ancient Egyptian calendar is a 365-day solar calendar with 12 months of 30 days each, plus a 13th month of 5 days. The Armenian calendar is similar but has a different epoch and month names.

Usage

egyptian_date(year = integer(), month = integer(), day = integer())

armenian_date(year = integer(), month = integer(), day = integer())

as_egyptian(date)

as_armenian(date)

Value

An egyptian or armenian vector object

Arguments

year

Numeric vector of years

month

Numeric vector of months

day

Numeric vector of days

date

Vector of dates on some calendar

Examples

Run this code
tibble::tibble(
  gregorian = gregorian_date(2025, 5, 1:10),
  egyptian = as_egyptian(gregorian),
  armenian = as_armenian(gregorian)
)

Run the code above in your browser using DataLab