<?php function ETA($ArrivalDate){ $currentDate = new DateTime(); $arrivalDate = new DateTime($ArrivalDate); $interval = $currentDate->diff($arrivalDate); return $interval->format('%m'); } echo ETA('2013-10-01');
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`