I have two dates: START DATE/TIME and END DATE/TIME. I need to determine how many hours/minutes between these two values are exclusive to Saturdays and Sundays ONLY.
For a simple example: START DATE/TIME: 07/10/2020 12:00PM END DATE/TIME: 07/13/2020 12:00PM.
This started on a Friday at noon and ended on a Monday at noon so 48 hours of Saturday and Sunday would be in this range.
Next Example:
START DATE/TIME: 07/11/2020 8:00AM END DATE/TIME: 07/13/2020 10:00AM
This started on Saturday and ended on a Monday. so this has 40 hours falling on Saturday and Sunday within the range.
Can anyone assist?
For a simple example: START DATE/TIME: 07/10/2020 12:00PM END DATE/TIME: 07/13/2020 12:00PM.
This started on a Friday at noon and ended on a Monday at noon so 48 hours of Saturday and Sunday would be in this range.
Next Example:
START DATE/TIME: 07/11/2020 8:00AM END DATE/TIME: 07/13/2020 10:00AM
This started on Saturday and ended on a Monday. so this has 40 hours falling on Saturday and Sunday within the range.
Can anyone assist?