Timing creation as: from Monday to Friday from 8:00 to 20:00


Is there a clever way to implement this function for a user to create a planning? without using a calendar.

Everyday morning (08-12)
Everyday afternoon (12-20
Everyday all day (08-20)

From Monday to Friday
From Monday to Saturday

then create the planning for one month or 2 months by adding date range in the DB

I know how to do it via a Calendar, and adding dates range, but I would like to use this function from an API Endpoint …and my logic fails

Thanks for any help on this

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