$start = strtotime(str_replace(“/”, “-“, #תאריך תחילת המשימה#)); $end = strtotime(str_replace(“/”, “-“, #תאריך סיום#)); $hours = ($end – $start) / 3600; return $hours ?: “”;