update : 2015.11.03
php.shukuma.com검색:
|
IntlDateFormatter::getDateTypedatefmt_get_datetype(PHP 5 >= 5.3.0, PECL intl >= 1.0.0) IntlDateFormatter::getDateType -- datefmt_get_datetype — Get the datetype used for the IntlDateFormatter 설명객체 기반 형식
public int IntlDateFormatter::getDateType
( void
)
절차식 형식 Returns date type used by the formatter. 인수
반환값The current date type value of the formatter. 예제Example #1 datefmt_get_datetype() example
<?php Example #2 OO example
<?php 위 예제의 출력: datetype of the formatter is : 0 First Formatted output is Wednesday, December 31, 1969 4:00:00 PM PT Now datetype of the formatter is : 2 Second Formatted output is 12/31/69 4:00:00 PM PT 참고
|