• Got a Tipila, google, windows live or facebook account ?

Here's how to get the number of days between 2 dates in sql server

DATEDIFF(day,startdate,enddate)

or

DATEDIFF(d,startdate,enddate)

or

DATEDIFF(dd,startdate,enddate)
1
votes
Login to Tipila