fixing getlog by dates

This commit is contained in:
2025-11-25 20:49:24 +07:00
parent e9e2b81cf0
commit ac6d5a80fe

View File

@ -85,6 +85,8 @@ class LogController
$d=array();
while($rw=$rs->fetch()){
echo "start time : ".date("Y-m-d H:i:s")."\n";
echo "Finger ID : ".$rw['fingerid']."\n";
echo "Process Log : ".date("Y-m-d",strtotime($rw['dates']))." ".$rw['times']."\n";
$d['timestamp']=date("Y-m-d H:i:s", strtotime($rw['dates'].' '.$rw['times']));
$d['id']=$rw['fingerid'];
$res=$this->fn_setattendance($d, $rw['deviceip']);