How to know if we are inside or outside of a given time profile?

I know I can access all the time profiles using the ConfigAPI.

Can you please share some code so that I can know (in real time) if I am inside or outside a given time profile? I want to trigger and event every X minutes, but only if I am within a time profile. I guess there is a way to fire an external events every X minutes when inside a time profile right? How do you do that? Looking at all the possibilities is making my head spin:

Thanks

Unfortunately, there is no such a method in MIP SDK. You will need to implement it.

Hi Rie,

Any chance you share some code for this please? It looks super complex…

I don’t know where to start, there are so many variables. Any chance a developer could extract some code and make an example for us?

Hi Eric,

We have asked Milestone Development but unfortunately no. But we will ask Milestone Development to put it on a wish-list. If they agreed on, it will be on a wish list to change this. For the change to happen prioritization needs to be made by Milestone Product Management, so it is currently not possible to say when, or even if, this will be developed.