|
IntlDateFormatter::getTimeZoneIddatefmt_get_timezone_idGet the timezone-id used for the IntlDateFormatter DescriptionObject oriented style
public string IntlDateFormatter::getTimeZoneId
( void
)
Procedural style
string datefmt_get_timezone_id
( IntlDateFormatter
$fmt
)Get the timezone-id used for the IntlDateFormatter. Parameters
Return ValuesID string for the time zone used by this formatter. ExamplesExample #1 datefmt_get_timezone_id example
<?php Example #2 OO example
<?php The above example will output: timezone_id of the formatter is : America/Los_Angeles Now timezone_id of the formatter is : CN See Also
|