PHP » GoLang |
login |
register |
about
|
GoLang IntlCalendar::roll
request it (411)
GoLang replacement for PHP's IntlCalendar::roll
[edit | history]
IntlCalendar::roll(PHP 5 >= 5.5.0, PHP 7, PECL >= 3.0.0a1) IntlCalendar::roll — Add value to field without carrying into more significant fields DescriptionObject oriented style Procedural style 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. Parameters
Return Values
Returns Examples
Example #1 IntlCalendar::roll()
<?php The above example will output: string(20) "01/07/2013, 00:00:00" string(20) "01/06/2013, 00:00:00" See Also
|
more
Recently updated
more
Most requested
more
Last requests
|