|
IntlDateFormatter::getTimeZoneIddatefmt_get_timezone_idGet the timezone-id used for the IntlDateFormatter DescriptionObject-oriented style
public stringfalse IntlDateFormatter::getTimeZoneId()
Procedural style stringfalse datefmt_get_timezone_id(IntlDateFormatter
$formatter )Get the timezone-id used for the IntlDateFormatter. Parameters
Return Values
ID string for the time zone used by this formatter, or ExamplesExample #1 datefmt_get_timezone_id example
Example #2 OO example
The above example will output: timezone_id of the formatter is: America/Los_Angeles Now timezone_id of the formatter is: Europe/Madrid See Also
|