date('F j, Y',strtotime("-1 days"));
$yesterday = new DateTime('yesterday'); echo $yesterday->format('Y-m-d');
date("F j, Y", time() - 86400);