Having two dates (a start and end one), how can I get the difference out in minutes, excluding the hours ranging from 19:00:00 to 08:59:59 and weekends for example?
It can not be a duplicate of this, they do not mention any exclusion of the minutes of certain hours or the weekend.