function get_last_date() { $tomorrow = mktime(0,0,0,date("m"),date("d")-1,date("Y")); return date("Y-m-d", $tomorrow);}//该片段来自于http://www.codesnippet.cn/detail/090120131459.html
来源: http://www.codesnippet.cn/detail/090120131459.html