Forum Documentation Showcase Pricing Learn more

Time Elapsed since Login

I’d like to allow each user who is logged in to gain 10 points upon each successful login, but only if 24hours has elapsed since their previous successful login, how would I go about the time elapsed?

As part of the work flow on “log the user in” could you set a field on User as “last logged on” to current date / time ?

Sure @NigelG, however it’s more an issue of monitoring the date/time and then counting down. I have created the field for the ‘last logged on’ as the current date/time.

Ah, I see. So how to trigger the addition of points or display a “time to” ?

Could you do this on page load and add a condition based upon your “last logon” field ?

1 Like