Hi,
This is my SharePoint list,
| Name | Date | Login | Logout |
| Dani | 18/05/2021 | 18/05/2021 10.30 AM | 18/05/2021 12.30 AM |
Now i want to calculate a time between Login and Logout column and If it is not completed 5 hours need to display warning message "You are not completed 5 hours"
am using sum formula ,
Set(cal ,Sum(Last(List).Login ,Last(List).Logout));
But it couldn't work .
How to do this?
Thanks,
Dhinesh