update : 2015.11.03
php.shukuma.com검색:
|
IntlCalendar::roll(PHP 5.5.0, PECL >= 3.0.0a1) IntlCalendar::roll — Add value to field without carrying into more significant fields 설명객체 기반 형식 절차식 형식 Adds a (signed) amount to a field. The difference with respect to IntlCalendar::add() is that when the field value overflows, it does not carry into more significant fields. 인수
반환값
Returns 예제
Example #1 IntlCalendar::roll()
<?php 위 예제의 출력: string(20) "01/07/2013, 00:00:00" string(20) "01/06/2013, 00:00:00" 참고
|