<?php version_compare(PHP_VERSION, '5.3.0', '>=') or die('SKIP'); $dt = new DateTime('2014-12-02', new DateTimeZone('UTC')); $dt->modify('first day of this month'); echo $dt->format('r');
You have javascript disabled. You will not be able to edit any code.