update : 2015.11.03
php.shukuma.com검색:
|
IntlDateFormatter::getLocaledatefmt_get_locale(PHP 5 >= 5.3.0, PECL intl >= 1.0.0) IntlDateFormatter::getLocale -- datefmt_get_locale — Get the locale used by formatter 설명객체 기반 형식
public string IntlDateFormatter::getLocale
([ int
$which
] )절차식 형식 Get locale used by the formatter. 인수
반환값the locale of this formatter or 'false' if error 예제Example #1 datefmt_get_locale() example
<?php Example #2 OO example
<?php 위 예제의 출력: locale of the formatter is : en First Formatted output is Wednesday, December 31, 1969 4:00:00 PM PT locale of the formatter is : de Second Formatted output is Mittwoch, 31. Dezember 1969 16:00 Uhr GMT-08:00 |