$str3 = "2018-01-01"; $str4 = "2016-12-31"; echo '距離2016年12月31日還有:'.ceil((strtotime($str4)-strtotime($str1))/(60*60*24)).'天<br>';結果:距離2016年12月31日還有:17166天。請問哪位知道是為什么呢?
- 1 回答
- 0 關注
- 1282 瀏覽
添加回答
舉報
0/150
提交
取消