Run ❯
Get your
own PHP
server
❯
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Go to Spaces
Ctrl+Alt+P
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."); ?>