今日开始时间
strtotime('midnight')
echo strtotime('today').'</br>';
今天结束时间(可以填写任意时间格式)
strtotime('today 23:59:59')
昨天开始时间
echo strtotime('yesterday').'</br>';
echo strtotime('-1 day midnight').'</br>';
后天开始时间
echo strtotime('+1 day midnight').'</br>';
官方参考手册
http://php.net/manual/zh/datetime.formats.relative.php