<?php $date1 = date_create_from_format("Y-m-d","2014-01-04"); $date2 = date_create_from_format("Y-m-d","2014-02-01"); echo date_diff($date1,$date2);
You have javascript disabled. You will not be able to edit any code.