> 文章列表 > PHP中strtotime函数使用方法

PHP中strtotime函数使用方法

在PHP中有个叫做strtotime的函数。strtotime 实现功能:获取某个日期时间戳,或获取某个时间的时间戳。strtotime 将任何英文文本的日期时间描述解析为Unix时间戳[将系统时间转化成unix时间戳]