- date: documentation ( source)
- strtotime: documentation ( source)
<?php
$var = strtotime('first Sunday of October +2 hours', 1428220800);
print $var;
echo "\n" . date("Y-m-d\TH:i:s", 1443916800);
$var = strtotime('first Sunday of April +2 hours', 1428220800);
print "\n" . $var;
echo "\n" . date("Y-m-d\TH:i:s", 1428192000);