Puddinq.com sharing knowledge
';

Date interval

Date interval

        $today = new \DateTime();
        $createdDate = (new \DateTime())->createFromFormat('Y-m-d H:i:s', $entry['date_created']);
        $interval = new DateInterval('P14D');
        $updatedDate = $createdDate->add($interval);