<?php $first=$status['in_time']."".$status['am_time']; $second=$status['out_time']."".$status['pm_time']; $d1= strtotime($first); $d2= strtotime($second); $diff=$d2-$d1; //echo $diff; echo date("H:i",$diff); ?>
var_dump($status)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)