update : 2015.11.03
php.shukuma.com검색:
|
IntlDateFormatter::setCalendardatefmt_set_calendar(PHP 5 >= 5.3.0, PECL intl >= 1.0.0) IntlDateFormatter::setCalendar -- datefmt_set_calendar — Sets the calendar type used by the formatter 설명객체 기반 형식 절차식 형식 Sets the calendar or calendar type used by the formatter. 인수
반환값
성공 시 예제Example #1 datefmt_set_calendar() example
<?php Example #2 OO example
<?php 위 예제의 출력: calendar of the formatter is : 1 Now calendar of the formatter is : 0 Example #3 Example with IntlCalendar argument
<?php 위 예제의 출력: before: Sunday, March 3, 2013 at 1:00:00 AM Central European Standard Time after: Saturday, Rabiʻ II 20, 1434 at 7:00:00 PM Eastern Standard Time 참고
|