WLJS LogoWLJS Notebook

CalendarConvert

CalendarConvert[date, calendar] converts the date object date to the specified calendar type calendar.

CalendarConvert[date] converts to the default calendar type.

Examples

Convert to different calendar:

CalendarConvert[DateObject[{2024, 1, 1}], "Jewish"]

Convert from Islamic calendar:

CalendarConvert[DateObject[{1445, 1, 1}, CalendarType -> "Islamic"], "Gregorian"]

Please visit the official Wolfram Language Reference for more details.

On this page