php中获得当前时间

echo date('Y-m-d H:i:s',time());
原文地址:https://www.cnblogs.com/kevingeek/p/3853526.html