from October 1 2014 to 20141001$dog = strtotime("October 1 2014"); echo date('Ymd', $dog);
$dog = strtotime("October 1 2014"); echo date('Ymd', $dog);