DatePeriod::getRecurrences

(PHP 7 >= 7.2.17/7.3.4, PHP 8)

DatePeriod::getRecurrencesGets the number of recurrences

Description

Object-oriented style

public DatePeriod::getRecurrences(): ?int

Get the number of recurrences.

Parameters

This function has no parameters.

Return Values

Returns the number of recurrences.