Welcome Guest, Not a member yet? Register   Sign In
lastlogin shield
#2

Hi @destor77, try the following method:

PHP Code:
        
        $lastLogin 
$user->lastLogin()->date;
        
        $userList
[] = [
            // other ...
            'lastLogin' => $lastLogin->format('Y-m-d H:i')
        ];

        dd($userList); 
Reply


Messages In This Thread
lastlogin shield - by destor77 - 06-04-2023, 05:46 PM
RE: lastlogin shield - by datamweb - 09-03-2023, 11:50 AM



Theme © iAndrew 2016 - Forum software by © MyBB