update : 2015.11.03
php.shukuma.com검색:
|
IntlDateFormatter::getPatterndatefmt_get_pattern(PHP 5 >= 5.3.0, PECL intl >= 1.0.0) IntlDateFormatter::getPattern -- datefmt_get_pattern — Get the pattern used for the IntlDateFormatter 설명객체 기반 형식
public string IntlDateFormatter::getPattern
( void
)
절차식 형식 Get pattern used by the formatter. 인수
반환값The pattern string being used to format/parse. 예제Example #1 datefmt_get_pattern() example
<?php Example #2 OO example
<?php 위 예제의 출력: pattern of the formatter is : MM/dd/yyyy First Formatted output is 12/31/1969 Now pattern of the formatter is : yyyymmdd hh:mm:ss z Second Formatted output is 19690031 04:00:00 PST 참고
|