Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Cake
Chronos
Traits
ModifierTrait
addMonthsWithOverflow
Cake\Chronos\Traits\ModifierTrait::addMonthsWithOverflow PHP Method
ModifierTrait Trait Documentation
Datei anzeigen
Open project: cakephp/chronos
addMonthsWithOverflow()
public
method
Add months with overflowing to the instance. Positive $value travels forward while negative $value travels into the past.
public
addMonthsWithOverflow
(
integer
$value
) :
static
$value
integer
The number of months to add.
return
static
public function addMonthsWithOverflow($value) { return $this->modify((int) $value . ' month'); }
ModifierTrait
addDay
addDays
addHour
addHours
addMinute
addMinutes
addMonth
addMonthWithOverflow
addMonths
addMonthsWithOverflow
addSecond
addSeconds
addWeek
addWeekday
addWeekdays
addWeeks
addYear
addYears
average
day
endOfCentury
endOfDay
endOfDecade
endOfMonth
endOfWeek
endOfYear
firstOfMonth
firstOfQuarter
firstOfYear
getWeekEndsAt
getWeekStartsAt
hour
lastOfMonth
lastOfQuarter
lastOfYear
minute
month
next
nthOfMonth
nthOfQuarter
nthOfYear
previous
second
setDate
setDateTime
setTimeFromTimeString
setWeekEndsAt
setWeekStartsAt
startOfCentury
startOfDay
startOfDecade
startOfMonth
startOfWeek
startOfYear
subDay
subDays
subHour
subHours
subMinute
subMinutes
subMonth
subMonthWithOverflow
subMonths
subMonthsWithOverflow
subSecond
subSeconds
subWeek
subWeekday
subWeekdays
subWeeks
subYear
subYears
timestamp
year