CalendarType

CalendarType

is an option that determines the calendar system in which all dates are to be interpreted and output.

Details

  • CalendarType is set to "Gregorian" by default.
  • Possible options for CalendarType are "Gregorian", "Islamic", "Jewish", and "Julian". Calendar definitions are as follows:
  • "Gregorian"proleptic Gregorian calendar, excludes year 0
    "Islamic"tabular Islamic calendar, includes year 0
    "Jewish"lunisolar Hebrew calendar, includes year 0
    "Julian"proleptic Julian calendar, excludes year 0

Examples

open allclose all

Basic Examples  (2)

Get the current date on the Jewish calendar:

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

Represent a Julian calendar date:

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

Compute a date range returning dates in the Islamic calendar:

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

Scope  (1)

Properties & Relations  (1)

See Also

DateObject  HolidayCalendar  DayMatchQ  DayRound

Introduced in 2012
(9.0)