Laravel get active session in minutes

select from_unixtime(`last_activity`) as lastdt from `sessions` WHERE from_unixtime(`last_activity`) >= NOW() - INTERVAL 15 MINUTE

ORDER BY last_activity DESC;


0 comments:

 
Copyright © peyotest