Islamic


represents the Islamic calendar system.

更多信息更多信息

  • To use , you first need to load the Calendar Package using .
  • 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).

范例范例打开所有单元关闭所有单元

基本范例 (5)基本范例 (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]=
New to Mathematica? Find your learning path »
Have a question? Ask support »