DatePeriod::getDateIntervalGets the interval DescriptionObject-oriented style
public DateInterval DatePeriod::getDateInterval()
Gets a DateInterval object representing the interval used for the period. ParametersThis function has no parameters. Return ValuesReturns a DateInterval object ExamplesExample #1 DatePeriod::getDateInterval example
The above example will output: 1 day See Also
|