PHP » GoLang |
login |
register |
about
|
GoLang DatePeriod::getEndDate
request it (311)
GoLang replacement for PHP's DatePeriod::getEndDate
[edit | history]
DatePeriod::getEndDate(PHP 5 >= 5.6.5, PHP 7) DatePeriod::getEndDate — Gets the end date DescriptionObject oriented style Gets the end date of the period. ParametersThis function has no parameters. Return Values
Returns
Returns a DateTimeImmutable object
when the DatePeriod is initialized with a
DateTimeImmutable object
as the ExamplesExample #1 DatePeriod::getEndDate() example
<?php The above examples will output: 2016-05-20T00:00:00+0000 Example #2 DatePeriod::getEndDate() without an end date
<?php The above example will output: NULL See Also
|
more
Recently updated
more
Most requested
more
Last requests
|