I'm developing a payroll module, and i need to calculate the quantity of mondays between two dates.
I'm Venezuela, there's a salary rule name "Social Security" and the formula is: (((Wage * 12) / 52) * 0.04) * quantity of mondays between dates.
Is there a way to calculates how many mondays are between two dates?