Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

non-overlapping time periods

Featured Replies

Posted

I want to create two non-overlapping time periods, but with no "uncovered" time inbetween. With inequalities that is easy ...

 

range one

if A .GT/E. 8 and A .LT. 9

 

range two

if A .GT/E 9 and A .LT. 11

 

All values, including 8 and all values between 8 and 11, but NOT 11 are covered in the two ranges, and there are no values between range one & two.

 

 

So, now the time interval programming ...

 

program early

If
       On Mon
       From     5:30:00AM
       To       8:00:00AM (same day)

etc.

 

 

program later

If
       On Mon
       From     8:00:00AM
       To       9:00:00AM (same day)

etc.

 

Would that work, or would both programs execute at precisely 8AM? The scenario is a manual force of the IF clause in both programs.

 

 

I may be answering my own question, but I understand that the execution of a time interval IF clause will trigger at the From time and it will run the THEN clause, and then again at the TO time, and run the ELSE clause.

 

If that is the case with the the manual trigger of the two programs, then all should be OK.

 

What I do not want to happen is to ever have the THEN clause from Program Early and Program Later to be executed at the same time, but I do want all times in the range covered with no uncovered time inbetween.

 

* Orest

I think, indeed, that you correctly answered your own question.

  • Author

Well, somehow, that is very satisfying!

 

* Orest

It should be satisfying. It demonstrates your ability to think and to reason. Such skills put you near the top of your class.

Guest
This topic is now closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.