Need to calculate ‘Install’ days based on scenarios. I have lists of ‘Training’ Days and ‘Install’ days should be 5 calendars prior to ‘Training’ days.
(1) if ‘Install’ date falls on Sunday then show next Monday date. i.e. My ‘Training’ date is 8/8/2009, and ‘Install’ date is 8/2/2009 but this date falls on Sunday so show 8/3/2009 which is Monday date.
(2) if ‘Install’ date falls on Saturday then show Friday date. i.e. My ‘Training’ date is 8/7/2009, and ‘Install’ date is 8/1/2009 but this date falls on Saturday so show 7/31/2009 which is Friday date.
Your help is much appreciated. Thank you.
(1) if ‘Install’ date falls on Sunday then show next Monday date. i.e. My ‘Training’ date is 8/8/2009, and ‘Install’ date is 8/2/2009 but this date falls on Sunday so show 8/3/2009 which is Monday date.
(2) if ‘Install’ date falls on Saturday then show Friday date. i.e. My ‘Training’ date is 8/7/2009, and ‘Install’ date is 8/1/2009 but this date falls on Saturday so show 7/31/2009 which is Friday date.
Your help is much appreciated. Thank you.