From ac6d5a80fe5c8243f6edaab5e110f7a5af6d922e Mon Sep 17 00:00:00 2001 From: asansal Date: Tue, 25 Nov 2025 20:49:24 +0700 Subject: [PATCH] fixing getlog by dates --- getdatadevicesbylogsbydates.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/getdatadevicesbylogsbydates.php b/getdatadevicesbylogsbydates.php index de0116a..e573c35 100755 --- a/getdatadevicesbylogsbydates.php +++ b/getdatadevicesbylogsbydates.php @@ -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']);