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