I need a function to check how many hours have passed between two dates, but if for example there is a weekend in between, then skip those hours.
Date 1: moment('2022-05-27 20:00:00).tz('UTC')
Date 2: moment('2022-05-30 20:00:00).tz('UTC')
Expected output: 24 hours