echo strtotime('129:00');
但它会有一个空的输出。
This echo strtotime('03:00');
将有1288339200作为输出。
我想strtotime()不会接受巨大的值strtotime()接受129:00的另一种选择。
echo strtotime('129:00');
但它会有一个空的输出。
This echo strtotime('03:00');
将有1288339200作为输出。
我想strtotime()不会接受巨大的值strtotime()接受129:00的另一种选择。
strtotime
解析日期或时间(当天24小时)到UNIX时间戳中。 129:00
既不是日期也不是时间,因此它返回false
。这不是“太大”,它只是无效的输入。
129:00是什么意思? – 2010-10-29 06:11:54