SilverStripe\ContentReview\Tests\ContentReviewSettingsTest::addDaysToDate
Note: all input dates should be DBDatetime or strings in CLDR date format. See {@link DBDate} for information
Signature
private function addDaysToDate(string|DBDatetime
$date,
int
$days,
[string
$format = 'Y-MM-dd'] )
Parameters
$date
— object
$days
— int$format
— string
Returns
- bool|string