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.

Date based conditions in programs?

Featured Replies

Posted

I am working on moving all of my scheduled events from my CM11A which I use with Heyu to my Isy. The only one I can't figure out to move is the one for my Christmas lights because this schedule only works from Nov 15-Jan 3rd. How can I do a date based condition in an ispy program?

I use a condition based on time and date:

 

if
from 1200AM 1NOV2010
to 1159PM 31MAR2011

then...

else....

I don't believe there is a way to do this that is more generic (same date every year, for example).

  • Author
Hello simonsez,

 

Currently, the only way to do date based (without year) is to have a program with multiple date/year combination or'ed together.

 

For instance:

If

Time is from 11/15/2010 to 12/01/2010

OR Time is from 11/15/2010 to 12/01/2011

etc.

 

With kind regards,

Michel

 

Thanks for the response.

 

That's an unfortunate limitation, but I guess I can work around it. I went ahead and did multiple if statements for the next five years.

 

-Si.

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.