标签: php

1 篇文章

php内置函数strtotime返回值异常问题
先说重点,strtotime函数的返回值,在官方文档上的描述 strtotime (PHP 4, PHP 5, PHP 7) strtotime — 将任何字符串的日期时间描述解析为 Unix 时间戳 说明 int strtotime ( string $time [, int $now = time() ] ) 本函数预期接受一个包含美国英语日期…