<?php $date = new \DateTime(); $date->setDate(2014, 1, 1); print_r($date->modify('last day of this year'));
You have javascript disabled. You will not be able to edit any code.