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.
私はこのようなものが必要です
$today = date("m-d-Y"); $otherdate = "05-03-2013"; //Some math here //echo the difference between the two dates in days
strtotime を使用してみましたが、正しく動作せず、通常、差が約 15,000 日であると表示されます (これは明らかに正しくありません)。
何か助けはありますか?