Date and Time check

Willem

New Member
Good Day

Just wondering if their is anyone that will be able to assist. Still a bit new to developing.
I need to do a date and time check in a process.
I need to check if the date and time if older that 48 hours excluding weekends and public holidays and if so the process should go on and if the not it should have an business exception.
So I have the collection that has the date and time on it as a data item and will use the date of the specific date the process will run as my start date.
For example:
21/01/2020 07:55am (Today - Tuesday) now I need to check if the date and time on the collection items date and time is 48Hours ago.
Date items details as follow one is 20/01/2020 08:00am (Monday) and should be exception and the other one is 17/01/2020 09:00am (Friday) and should also be exception as the weekend must be excluded and the last data item is the 16/01/2020 07:30am and the process should continue as more that 48Hours.

Thanks
Willem Nel
 
Top