update : 2015.11.03
php.shukuma.com검색:
|
IntlDateFormatter::setTimeZoneIddatefmt_set_timezone_id(PHP 5 >= 5.3.0, PECL intl >= 1.0.0) IntlDateFormatter::setTimeZoneId -- datefmt_set_timezone_id — Sets the time zone to use 설명객체 기반 형식
public bool IntlDateFormatter::setTimeZoneId
( string
$zone
)절차식 형식 Sets the time zone to use. Warning
This function was DEPRECATED in PHP 5.5.0, and REMOVED as of PHP 7.0.0. 인수
반환값
성공 시 변경점
예제Example #1 datefmt_set_timezone_id() example
<?php Example #2 OO example
<?php 위 예제의 출력: timezone_id of the formatter is : America/Los_Angeles Now timezone_id of the formatter is : CN 참고
|