jalcal: Convert Between Jalaali (Persian or Solar Hijri) and Gregorian Calendar Dates

The Jalaali calendar, also known as the Persian or Solar Hijri calendar, is the official calendar of Iran and Afghanistan. It starts on Nowruz, the spring equinox, and follows an astronomical system for determining leap years. Each year consists of 365 or 366 days, divided into 12 months. This package provides functions for converting dates between the Jalaali and Gregorian calendars. The conversion calculations are based on the work of Kazimierz M. Borkowski (1996) (<doi:10.1007/BF00055188>), who used an analytical model of Earth's motion to compute equinoxes from AD 550 to 3800 and determine leap years based on Tehran time.

Getting started

Package details

AuthorAbdollah Jalilian [aut, cre] (<https://orcid.org/0000-0002-6573-0069>), Kazimierz M. Borkowski [ctb]
MaintainerAbdollah Jalilian <stat4aj@gmail.com>
LicenseGPL (>= 2)
Version0.3.0
URL https://github.com/jalilian/jalcal
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("jalcal")

Try the jalcal package in your browser

Any scripts or data that you put into this service are public.

jalcal documentation built on April 3, 2025, 10:47 p.m.