DatePeriod::getEndDate

PHP 5 >= 5.6.5, PHP 7, PHP 8
DatePeriod::getEndDate - Gets the end date
Manual
Code Examples

Example #1 DatePeriod::getEndDate example

Result: 2016-05-20T00:00:00+0000
PHP Version:

Example #2 DatePeriod::getEndDate without an end date

Result: NULL
PHP Version:


Function DatePeriod::getEndDate:

Date and Time Functions

Most used PHP functions