you will need a third party plugin for this. BuddyPress/BuddyBoss does not contain when a user last logged in.
If you are using BuddyPress, It already shows the last active time for the user.
If you are using BuddyBoss, I will suggest contacting their support for the general questions as it is specific to their theme/platform.
You must be logged in to reply to this topic.