Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<IntlTimeZone::createTimeZoneIDEnumerationIntlTimeZone::getCanonicalID>
^IntlTimeZoneLast updated: Mon, 26 Oct 2026

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_zone — Create a timezone object from DateTimeZone

Description

Object-oriented style (method):

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

Procedural style:

function 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


<IntlTimeZone::createTimeZoneIDEnumerationIntlTimeZone::getCanonicalID>
^IntlTimeZoneLast updated: Mon, 26 Oct 2026