Gregorian


represents the Gregorian 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 was adopted for dates and later.

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

基本范例 (6)基本范例 (6)

In[1]:=
Click for copyable input

The Western calendar in current use is the Gregorian calendar. To convert a contemporary Western date to another calendar, use for the contemporary Western date.

Israel obtained its independence on May 14, 1948. This finds the Jewish date:

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

This finds the Western date corresponding to the 50th Jewish anniversary:

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

Between 1582 and 1752, Catholic countries used the Gregorian calendar, while Britain and her colonies used the Julian calendar. To convert British and Catholic dates occurring between 1582 and 1752, it is necessary to change calendars from Julian to Gregorian.

George Washington was born on February 22, 1732. In France, the date was:

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

Voltaire was born on November 21, 1694. In Great Britain the date was:

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

To know the day of the week corresponding to Voltaire's birth, use the option:

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

To compute the number of days Voltaire lived, use the option:

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

The Russian Orthodox Church still uses the Julian calendar. This finds the Western (Gregorian) date of Greek Orthodox Christmas 2000:

In[2]:=
Click for copyable input
Out[2]=
New to Mathematica? Find your learning path »
Have a question? Ask support »