0

私はこのようなものが必要です

$today = date("m-d-Y");
$otherdate = "05-03-2013";

//Some math here

//echo the difference between the two dates in days

strtotime を使用してみましたが、正しく動作せず、通常、差が約 15,000 日であると表示されます (これは明らかに正しくありません)。

何か助けはありますか?

4

3 に答える 3