php / 8.1.5 / intltimezone.fromdatetimezone.html /

IntlTimeZone::fromDateTimeZone

intltz_from_date_time_zone

(PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1)

IntlTimeZone::fromDateTimeZone -- intltz_from_date_time_zoneCreate a timezone object from DateTimeZone

Description

Object-oriented style (method):

public static IntlTimeZone::fromDateTimeZone(DateTimeZone $timezone): ?IntlTimeZone

Procedural style:

intltz_from_date_time_zone(DateTimeZone $timezone): ?IntlTimeZone
Warning

This function is currently not documented; only its argument list is available.

Parameters

timezone

Return Values

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/intltimezone.fromdatetimezone.php