(PHP 5 >= 5.5.0, PHP 7, PHP 8)
IntlGregorianCalendar::__construct — Create the Gregorian Calendar class
$timeZoneOrYear,$localeOrMonth,$dayOfMonth,$hour,$minute,$second = ?This function is currently not documented; only its argument list is available.
tzlocaletimeZoneOrYearlocaleOrMonthdayOfMonthhourminutesecond| Version | Description |
|---|---|
| 8.4.0 | This had been deprecated in favor of the methods IntlGregorianCalendar::createFromDate() and IntlGregorianCalendar::createFromDateTime(). |
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/intlgregoriancalendar.construct.php