Please note, this is a STATIC archive of website www.w3schools.com from 05 May 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.
Disabled
×
Change Orientation
Please note, this is a STATIC archive of website www.w3schools.com from 05 May 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.
format("Total number of days: %a."); echo "
"; // %R outputs + beacause $date2 is after $date1 (a positive interval) echo $diff->format("Total number of days: %R%a."); echo "
"; // %d outputs the number of days that is not already covered by the month echo $diff->format("Month: %m, days: %d."); ?>
×
Report a Problem:
Your E-mail:
Page address:
Description:
Disabled