PHP 8.5.10 Released!

IntlGregorianCalendar::getGregorianChange

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

IntlGregorianCalendar::getGregorianChangeGet 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.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top