| persian_date | R Documentation |
The modern Persian calendar was adopted in 1925 in Iran and in 1957 in Afghanistan. An alternative version
of the calendar, using only arithmetic (rather than astronomical) calculations is available as the apersian calendar.
persian_date(year = integer(), month = integer(), day = integer())
apersian_date(year = integer(), month = integer(), day = integer())
as_persian(date)
as_apersian(date)
year |
Numeric vector of years |
month |
Numeric vector of months |
day |
Numeric vector of days |
date |
Vector of dates on some calendar |
A persian vector object
gregorian_date(2025, 5, 1:20) |>
as_persian()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.