Calendar`
Calendar`
Calendar
As of Version 10.0, calendar functionality is built into the Wolfram Language »
Calendar
is an option for calendar functions that specifies which calendar system to use.
Details and Options
- To use Calendar, you first need to load the Calendar Package using Needs["Calendar`"].
- Calendar->system specifies to use calendar system system.
- The following settings can be given:
-
Gregorian Gregorian calendar Julian Julian calendar Islamic Islamic calendar Jewish Jewish calendar - With Calendar->Automatic, the Julian calendar is used before September 3, 1752, and the Gregorian calendar after September 13, 1752.
Examples
Basic Examples (3)Summary of the most common use cases
In[1]:=1

✖
https://wolfram.com/xid/0cf9tark1uk5u-iuyy1z
Compute the number of days in the Islamic year 1420:
In[2]:=2

✖
https://wolfram.com/xid/0cf9tark1uk5u-fruzal
Out[2]=2

In[1]:=1

✖
https://wolfram.com/xid/0cf9tark1uk5u-bjpas3
Compute the number of days in the Jewish year 5760:
In[2]:=2

✖
https://wolfram.com/xid/0cf9tark1uk5u-l6i59
Out[2]=2

In[1]:=1

✖
https://wolfram.com/xid/0cf9tark1uk5u-bu6t25
In the Julian calendar, the year 1900 was a leap year:
In[2]:=2

✖
https://wolfram.com/xid/0cf9tark1uk5u-06f2l
Out[2]=2

This is not true in the standard (Gregorian) Western calendar:
In[3]:=3

✖
https://wolfram.com/xid/0cf9tark1uk5u-dt47nb
Out[3]=3
