Islamic

As of Version 10.0, calendar functionality is built into the Wolfram Language


represents the Islamic calendar system.

DetailsDetails

  • To use , you first need to load the Calendar Package using Needs["Calendar`"].
  • is a value for the Calendar option, and can be used as an argument to CalendarChange.
  • This calendar began on Julian, or in the calendar (one date given for the Hegira).

ExamplesExamplesopen allclose all

Basic Examples  (5)Basic Examples  (5)

In[1]:=
Click for copyable input

The argument to CalendarChange converts between Western (Gregorian) dates and Islamic dates. This computes the Islamic date of January 1, 2000:

In[2]:=
Click for copyable input
Out[2]=
In[1]:=
Click for copyable input

The Islamic calendar has the following months:

In[2]:=
Click for copyable input

The above date is therefore the 24th of Ramadan, 1420.

In[1]:=
Click for copyable input

The Western date for the beginning of Ramadan of the Islamic year 1420:

In[2]:=
Click for copyable input
Out[2]=
In[1]:=
Click for copyable input

The Islamic year has fewer days than the Western year:

In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=
In[1]:=
Click for copyable input

The Islamic calendar is purely lunar (time of month corresponds to phase of the moon) but does not keep track of seasons, since there is no leap month. The Islamic calendar moves backward with respect to the Western calendar; for example, the start of Ramadan in successive years:

In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=
In[4]:=
Click for copyable input
Out[4]=