IntlGregorianCalendar::setGregorianChange
PHP function
Edit on GitHub ✎
(PHP 5 >= 5.5.0, PHP 7, PHP 8)
Set the Gregorian Calendar change date
Description
Oop
IntlGregorianCalendar::setGregorianChange(float $timestamp): bool
Procedural
intlgregcal_set_gregorian_change(IntlGregorianCalendar $calendar, float $timestamp): bool
Sets 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.
Parameters
calendarAn
IntlGregorianCalendarinstance.timestampThe Gregorian Calendar change date, expressed as a Unix timestamp in milliseconds.
Return Values
Success