I want to create a DatePeriod object with a negative DateInterval.
This creates a DatePeriod with the year increasing from today to 2016.
$this->S
You can used sub http://php.net/manual/en/datetime.sub.php
Here is example
$startDate = new \DateTime('2018-01-08 13:54:06'); $startDate->sub(new \DateInterval('P1D'));