I want to get the yesterday date using specific date format in php this is the format:
$today = date(\"d.m.Y\"); //15.04.2013
Is it possible?>
try this
$tz = new DateTimeZone('Your Time Zone'); $date = new DateTime($today,$tz); $interval = new DateInterval('P1D'); $date->sub($interval); echo $date->format('d.m.y'); ?>