How do I return the number of days between two dates minus the number of saturday and sundays on that period ? The DATEDIFF function on mysql gives me the number of days but doesnt exclude the weekends.
Example, I have two columns and want to add a third one that is the differente between the two.
I would appreciate any help.