BubbaDuck Posted October 12, 2020 Share Posted October 12, 2020 Help me think through this problem... I can think of bad and onerous ways to do this. The goal is to set a scene for say the week before Memorial Day. Memorial Day is the last Monday of May. Th ebst I have thought of is awful IF statements If May and Monday and Date Between 26 and 31 Then I would have to do similar for each day preceding Memorial Day. Is there a driver or better way to to this that I haven't considered? FWIW, the Chowmain Holiday driver is dead. Quote Link to comment Share on other sites More sharing options...
mujtaba.khokhar Posted October 12, 2020 Share Posted October 12, 2020 There’s a driver on driver central , called schedule it! It links in with google calendar, I’m sure google shows when the holidays are you can get it to execute an event that way. Thanks Muj Sent from my iPhone using Tapatalk Quote Link to comment Share on other sites More sharing options...
RAV Posted October 12, 2020 Share Posted October 12, 2020 For there to be 5 mondays in May, then the 3rd monday has to be less than 22. Two events need to trigger on the Monday before Memorial Day. Scheduler event: Third Monday in May, repeat annually If day of month > 21, stop {cause that means Memorial day is on the fifth Monday in May} else do whatever, set variable early to true {Memorial day will be the fourth Monday in May} Scheduler event: Fourth Monday in May, repeat annually if early is true, set to false and stop {already did the week early thing} else do whatever {because it's now a week before Memorial Day} Quote Link to comment Share on other sites More sharing options...
BubbaDuck Posted October 12, 2020 Author Share Posted October 12, 2020 32 minutes ago, mujtaba.khokhar said: There’s a driver on driver central , called schedule it! It links in with google calendar, I’m sure google shows when the holidays are you can get it to execute an event that way. Thanks Muj Sent from my iPhone using Tapatalk Ah, that’s perfect! RAV is describing where I was headed and that’s painful. mujtaba.khokhar 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.