php: +1天, +3个月, strtotime(): +1 day, +3 month
生活随笔
收集整理的這篇文章主要介紹了
php: +1天, +3个月, strtotime(): +1 day, +3 month
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
php: +1天, +3個月, strtotime():? +1 day, +3 month
比如,我現在當前時間基礎上+1天:
strtotime("+1 day");
?
比如我現在,2014-05-01時間上 + 3個月
$s = strtotime("2014-05-01");
$d = strtotime("+3 month", $s);
?
轉載于:https://www.cnblogs.com/achengmu/p/7859722.html
總結
以上是生活随笔為你收集整理的php: +1天, +3个月, strtotime(): +1 day, +3 month的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Android 开发笔记___drawa
- 下一篇: ABB 机器人 压包指令PackRaw