I am trying to create a rule that will display a message to the user when (s)he logs in for the first time that day. Reset has to be per day at 12:00am.
Notice: not the first time in 24 hours but the first time that day.
So if user logs in 8/30/2016 11:59 and then 8/31/2016 12:01am then both times (s)he will see message.
I tried to achieve this using event 'User has logged in' and condition: data comparison and comparing last login date with current date and time and offset 1 day. But it's not workings. It might be possible to do this with the custom php?
Thanks God Bless.
------------------------------------------Update------------------------------------------
9/1/2016
I need help creating the following rule:
Trigger: User logs in
Condition: User hasn't logged in this today(since 12:00AM)
Action: Display message to user
Am I doing something wrong, or can this be achieved with custom Php? My attempt is described in first update. Can't seem to make this work. The message should only appear every day.
Day = 12:00:00AM - 11:59:59PM