How to calculate ‘n’ number of slots per day with course

Can anyone suggest How to calculate ‘n’ number of slots same day are non-overlapping with each other.

like this:
monday cs
tuesday eng

saturday pak

i want to show that which slots are available and which is not available.
I have tried to write some IF conditions, but it is not working.
How can I do it?

You mean free spots on daily timeline where there is no education? I don’t really understand your question. Maybe also provide some example data?

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.