Topic: Difference between 2 dates WITHOUT week-ends
Hello Dmitry,
Again, I'm asking for help
After successfully (thanks to you) calculating a total number of days, hours, minutes between 2 dates, I am trying to calculate to total number of working days between the same dates.
In other word, I am trying to count the DaysBewteen minus Saturdays and Sundays.
I used the DayOf Week (week starts with a Sunday) because it seems that the DayOfTheWeek (week starts with a Monday) is not yet implemented (which does not matter at all in fact).
I suppose what must be done is calculate the total number of days between the dates, and substract all the [1] and [7] days (Sundays and Saturdays) with some kind of loop... but how ?
Do you have a idee for me ? Or anyone else maybe ?
In the included project, days of beginning and ending dates are identified, and DaysBetween are also calculated but I don't have a clue on how to substract Saturdays and Sundays
MVDB version is 1.50
Each time I get a divorce, I keep the house
Zaza Gabor