I know there’s a lot of posts about recurring date/time objects for scheduling.
I am however curious if anyone has a good way to program a recurring hour-only schedule.
My app is a campaigning app, for SMS and emails. I want the user to be able to set a stop and start time for their campaigns. So my app won’t schedule an SMS or email to be sent during a recurring hourly block, not relative to the date.
I am having issues with this since all times are tied to dates, even ranges. So if I set an initial range that encompasses the hours that are not allowed i.e. March 23 @ 1930 to March 24 @ 0830, as soon as the day passes it will be a moot expression.
I need a way to at the end of every day reset the time group relative to the current date.
I feel like this is pretty simple and I’m overlooking a function but any input would be appreciated.