摘要: date_default_timezone_set('PRC'); /*把时间调到北京时间,php5默认为格林威治标准时间*/ ​ echo time(); /* 获取d当前时间戳 */ /* 输出:1598963507 */ ​ echo date("Y-m-d H:i:s",time()); / 阅读全文
posted @ 2021-08-29 13:59 hyp888 阅读(232) 评论(0) 推荐(0)