Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
PHP 5.2 で 2 つの日付の日付の違いを見つけたい
使えるか不安ですdate_diff。PHPマニュアルによると(PHP 5 >= 5.3.0)
date_diff
(PHP 5 >= 5.3.0)
これが何を意味するのかわかりません。バージョン 5.3.0 以降の PHP 5 でのみ使用できるということですか?
この回答に記載されている解決策を使用したかったのですが、date_diff が 5.2 で機能しない場合、他に何が使用できるか教えてもらえますか?