DatePeriod::getRecurrences

(PHP 7 >= 7.2.17/7.3.4)

DatePeriod::getRecurrencesGets the number of recurrences

Description

Object oriented style

public DatePeriod::getRecurrences ( ) : int|null

Get the number of recurrences.

Parameters

This function has no parameters.

Return Values

Returns the number of recurrences.

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/dateperiod.getrecurrences.php