<<Back
$value) { $st_date = new DateTime($value['exam_starttime']); $ed_date = new DateTime($value['exam_endtime']); $interval = $ed_date->diff($st_date); if ($interval->format('%H') == '' || $interval->format('%H') == 0) { $duration = $interval->format('%I mins'); }else{ $duration = $interval->format(' %H hr - %I mins'); } ?>
  • Today -
  • Time - format('H:i A'); ?>
  • Duration -
  • Total Marks -