update : 2015.11.03
php.shukuma.com검색:
|
IntlCalendar::fromDateTime(PHP 5.5.0, PECL >= 3.0.0a2) IntlCalendar::fromDateTime — Create an IntlCalendar from a DateTime object or string 설명객체 기반 형식 절차식 형식 Creates an IntlCalendar object either from a DateTime object or from a string from which a DateTime object can be built. The new calendar will represent not only the same instant as the given DateTime (subject to precision loss for dates very far into the past or future), but also the same timezone (subject to the caveat that different timezone databases will be used, and therefore the results may differ). 인수
반환값
The created IntlCalendar object or 예제
Example #1 IntlCalendar::fromDateTime()
<?php 위 예제의 출력: 2013 Februar 28 00:01:02 Deutschland Zeit |