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:

Represent a Julian calendar date:

Compute a date range returning dates in the Islamic calendar:

Scope  (1)

Use CalendarType to specify time stamps in an EventSeries or in a TimeSeries:

The dates in the above event series are now given in the default calendar type:

Create a time series specifying the start date according to the Islamic calendar:

Properties & Relations  (1)

The default calendar type in DateObject is "Gregorian":

Change the output for the same dates to the "Jewish" calendar:

Change the calendar of the input dates as well:

The date range now represents a different period in time:

Introduced in 2012
 (9.0)