update : 2015.11.03
php.shukuma.com검색:
|
IntlDateFormatter::localtimedatefmt_localtime(PHP 5 >= 5.3.0, PECL intl >= 1.0.0) IntlDateFormatter::localtime -- datefmt_localtime — Parse string to a field-based time value 설명객체 기반 형식
public array IntlDateFormatter::localtime
( string
$value
[, int &$position
] )절차식 형식 Converts string $value to a field-based time value ( an array of various fields), starting at $parse_pos and consuming as much of the input value as possible. 인수
반환값Localtime compatible array of integers : contains 24 hour clock value in tm_hour field 예제Example #1 datefmt_localtime() example
<?php Example #2 OO example
<?php 위 예제의 출력: First parsed output is tm_sec : 0 , tm_min : 0 , tm_hour : 16 , tm_year : 1969 , tm_mday : 31 , tm_wday : 4 , tm_yday : 365 , tm_mon : 11 , tm_isdst : 0 , 참고
|