time():返回unix时间戳。
date(): 格式化一个本地时间/日期
getdate — 取得日期/时间信息:
strtotime : 将任何英文文本的日期时间描述解析为 Unix 时间戳
echo strtotime('10:55:1 2011-10-11'); 1318301701
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3