不错里面参数好像有点问题,
M是用字符格式表达月份,例如 Jan Feb 等等
D也是,是返回字符格式的日期,例如 Mon Tue 等等date('Y-m-d H:i',$timestamp)PHP手册的解释:http://www.php.net/manual/en/function.date.phpFirefox右上角Google搜索直接输入PHP Manual就可以了。
M是用字符格式表达月份,例如 Jan Feb 等等
D也是,是返回字符格式的日期,例如 Mon Tue 等等date('Y-m-d H:i',$timestamp)PHP手册的解释:http://www.php.net/manual/en/function.date.phpFirefox右上角Google搜索直接输入PHP Manual就可以了。
正确的写法,注意大小写.这是有区别的.