我正在尝试测试当前时间是否已超过当天中午,但对 strtotime 的调用不会返回我期望的值。
代码
$time=strtotime("12:00 PM TODAY"); echo date('h:i:s A',$time);
输出
12:00:00 AM
慕村225694
相关分类