checkdate(12,31,2000);//返回true或者false
date();
getdate();//数组信息
microtime();//微秒
mktime(0,0,0,12,36,2001);//超出自动延长
strtotime("now");
strtotime("3 October 2005");
strtotime("+5 hours");
strtotime("+1 week");
strtotime("+1 week 3 days 7 hours 5 seconds");
strtotime("next Monday");
strtotime("last Sunday");
select id,DATE_FORMAT(FROM_UNIXTIME(createdTime),'%Y-%m-%d %H:%i:%s') from wechat_bigdata_vote where signUpId=68;
PHP中date()和strtotime()函数
最新推荐文章于 2021-04-03 17:18:27 发布