IntlTimeZone::fromDateTimeZone
PHP function
Edit on GitHub ✎
(PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1)
Create a timezone object from DateTimeZone
Description
Oop (method):
IntlTimeZone::fromDateTimeZone(DateTimeZone $timezone): IntlTimeZone|null
Procedural:
intltz_from_date_time_zone(DateTimeZone $timezone): IntlTimeZone|null
Func
Parameters
timezone