正确吗 谢谢老师
来源:3-12 编程练习
慕雪9736926
2019-02-21 14:39:29
<?php
echo "timestamp now:".time().'<br>';
echo "timestamp of 10 September 2000:".strtotime('10 September 2000').'<br>';
echo "timestamp of next day:".strtotime('+1 day').'<br>';
echo "timestamp of next week:".strtotime('+1 week').'<br>';
echo "timestamp of next week 2day 4hours 2 seconds:".strtotime('+1 week 2day 4hours 2 seconds').'<br>';
echo "timestamp of next Thursday:".strtotime('+1 Thursday').'<br>';
echo "timestamp of last Monday:".strtotime('last day of Monday').'<br>';
?>
1回答
您好,正确哦~继续加油!
相似问题