0
A
回答
1
我建议你阅读德里克Rethans的的日期和时间,http://derickrethans.nl/talks/time-zendcon9.pdf优秀导游,解释幻灯片开始在幻灯片16
他是PHP的日期和时间函数的作者,并建议您尽可能使用DateTime类。
3
相关问题
- 1. php strtotime()值不按预期工作
- 2. strtotime PHP多个值不一起工作
- 3. PHP日期的strtotime不工作
- 4. 为什么strtotime不工作php
- 5. strtotime工作不正确-60天
- 6. 的strtotime功能不能正常工作
- 7. Strtotime按预期工作
- 8. strtotime无法正常工作
- 9. php strtotime不起作用
- 10. PHP strtotime()函数错误1小时?
- 11. 的strtotime 8天前,整个24小时
- 12. 的strtotime减去小时和分钟
- 13. 从时间里删除5个小时
- 14. Laravel 5 @section不工作
- 15. Laravel 5注销不工作
- 16. index.php不工作laravel 5
- 17. iOS 5 - AVAPlayer不工作了
- 18. Laravel 5 jquery getJSON不工作
- 19. 路由不工作laravel 5?
- 20. 登录不工作Laravel 5
- 21. FullCalendar不工作MVC 5
- 22. presentModalViewController不IOS 5的工作
- 23. 计算在2 24小时时间格式中工作的小时数PHP
- 24. 提取小时和分钟不工作
- 25. Selenium RC在最小化时不工作
- 26. iptables阻止IP x小时不工作?
- 27. PHP比较两个日期,但小时不能正常工作
- 28. PHP函数strtotime
- 29. PHP strtotime不能同时处理数组
- 30. Nivo滑块不工作Laravel-5
不特定于PHP5,请正确标记。 http://php.net/manual/en/function.strtotime.php – TheLQ 2010-08-17 21:17:18
它是如何工作的? 'var_dump(strtotime(“ - 5 hours”))'为我输出一个合适的,非错误的值。 – 2010-08-17 21:19:57
你是否试过“-05:00”让它知道它的小时而不是“小时” – DevelopingChris 2010-08-17 21:22:37