Sorting Daily Tasks Based on Time Constraint

Hello everyone, I have developed a task manager application using In my application, I am organizing tasks for each day based on certain parameters. So far, everything works as expected; however, I want to make sure that the total duration of the tasks assigned to each day does not exceed the daily working hours, which is 8 hours. Does anyone have suggestions on how I can implement this restriction while adding tasks to the daily list? Any help or guidance would be greatly appreciated. Thank you!

This topic was automatically closed after 70 days. New replies are no longer allowed.