Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<IntlGregorianCalendar::createFromDateTimeIntlGregorianCalendar::isLeapYear>
^IntlGregorianCalendarLast updated: Mon, 26 Oct 2026

IntlGregorianCalendar::getGregorianChange

(PHP 5 >= 5.5.0, PHP 7, PHP 8)

IntlGregorianCalendar::getGregorianChange — Get the Gregorian Calendar change date

Description

Object-oriented style

public function IntlGregorianCalendar::getGregorianChange(): float

Procedural style

function intlgregcal_get_gregorian_change(IntlGregorianCalendar $calendar): float

Gets the Gregorian Calendar change date. This is the point at which the calendar switches from Julian dates to Gregorian dates, expressed as a Unix timestamp in milliseconds. It defaults to midnight (UTC) on October 15, 1582.

Parameters

calendar

An IntlGregorianCalendar instance.

Return Values

Returns the change date.


<IntlGregorianCalendar::createFromDateTimeIntlGregorianCalendar::isLeapYear>
^IntlGregorianCalendarLast updated: Mon, 26 Oct 2026