Computes the number of days between two dates. If @date2 is prior to @date1, the returned value is negative. Both dates must be valid.
the second date
the number of days between @date1 and @date2
See Implementation
Computes the number of days between two dates. If @date2 is prior to @date1, the returned value is negative. Both dates must be valid.