it is an arbitary date to get the difference from. Probably any date would do.
Since sql server won't average a date. I am using datediff to calculate the number of days from an arbitrary date 1/1/1900, and averaging that. DateAdd changes that number back to a date.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.