|
update : 2015.11.03
php.shukuma.com검색:
|
IntlDateFormatter::setTimeZonedatefmt_set_timezone(PHP 5 >= 5.5.0, PECL intl >= 3.0.0) IntlDateFormatter::setTimeZone -- datefmt_set_timezone — Sets formatterʼs timezone 설명객체 기반 형식 절차식 형식 Sets the timezone that will be used when formatting dates or times with this object. 인수
반환값
Returns 예제
Example #1 IntlDateFormatter::setTimeZone() examples
<?php위 예제의 출력:
NULL
Europe/Amsterdam
IntlTimeZone
Europe/Lisbon
DateTimeZone
Europe/Paris
String
Europe/Rome
IntlTimeZone Object
(
[valid] => 1
[id] => GMT+00:30
[rawOffset] => 1800000
[currentOffset] => 1800000
)
|