https://social.msdn.microsoft.com/Forums/sqlserver/en-US/479b2888-f228-4154-9595-4c9e9b7a5523/calculate-elapsed-time-between-dates-excluding-weekends?forum=transactsql
Feb 25, 2010 · You could use a calendar table. Pull all dates between the start and end date, count whole days and multiply it by (24 * 60), and add the difference in min for the