Mitul Dabhi
answered Nov 30 '-1 00:00
echo date('d-m-y', strtotime("-1 day"));
strtotime function give you unix timestamp from given English text , it try to parse the English text and return unix timestamp
date function give proper format for given unix timestamp.