Result Size: 625 x 571
x
 
<!DOCTYPE html>
<html>
<body>
<?php
$date1=date_create("2013-03-15");
$date2=date_create("2013-12-12");
$diff=date_diff($date1,$date2);
echo $diff->format("%R%a days");
?>
</body>
<!-- Mirrored from www.w3schools.com/php/phptryit.asp?filename=tryphp_func_date_diff by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Jan 2020 02:50:58 GMT -->
</html>
×

Report a Problem: