how to get date difference between two dates using DateDiff Excluding the weekends [duplicate]

i think you should use

SELECT DATEDIFF(day,'2014-06-05','2014-08-05') AS DiffDate

and result is

DiffDate
61

Leave a Comment