Forum Discussion
Need help
- 1 year ago
Hi ryan_mayu ,
Its not the expected result
This is my goal, the session cross midnight
Login
2025-03-20 22:07
Logoff
2025-03-21 10:04
Login
2025-03-21 22:08
Logoff
2025-03-23 09:4
Thanks in advance
what do you mean cross the midnight? what's the time period for midnight?
- Yacine20251 year agoFrequent Visitor
- The user starts at 22h07 and finish at 10h4 am the day after in this case i need to calculate the duration of his session between 22h07 and 10h4am knowing that in others cases it may have multiple login and logoff that i want to ignore.
Thanks
- ryan_mayu1 year agoSuper User
what i mean is the standard creteria for all the situaion. what if logout at 9 am and login at 10 am again? what if logout at 10 am and login at 11 am? What I want is the start time and end time of midnight.
- v-menakakota1 year agoCommunity Support
Hi Yacine2025 ,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you. - Yacine20251 year agoFrequent Visitor
Hi ryan_mayu
There are users who have a working day from 8am to 5pm and others who start at 9pm and finish at 5am so I would like to determine the timestamps of the first login and the last logout to calculate the total duration per shif
thanks - ryan_mayu1 year agoSuper User
- v-menakakota1 year agoCommunity Support
Hi Yacine2025 ,
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
- Yacine20251 year agoFrequent Visitor
Hi ryan_mayu , thank you so much its working
- ryan_mayu1 year agoSuper User
you are welcome