rwm
10 years agoAdvisor
Previous visit time for a user
I would like to build a component for my users that retrieves some data from the time they last logged on the community. Problem is, the user field "last_visit_time" is updated with the current time as soon as they login, becoming "now". Retrieving data based on that would be useless since it would return nothing.
So, given a user that just logs into the community, is there a way to determine when they logged in previously - prior to the current login session?