Powered by BPM360

@php try { $userId=Auth::user()->RefId; $results=DB::select("select CreatedDate from LoginAudit where LoginType=1 and UserId='$userId' order by CreatedDate desc limit 1,1"); $LastLoggedIn=date('d-M-Y h:i:s A',strtotime($results[0]->CreatedDate)); @endphp Last Login : {{$LastLoggedIn}} @php } catch(\Exception $e) { $LastLoggedIn=""; } @endphp

Business Suite