<?php $endDate = new DateTime('1st January Next Year'); echo $endDate->format('Y-m-d'); // 2017-01-01
You have javascript disabled. You will not be able to edit any code.