1. DATEDIFF(d, RunOutDate, ResupplyDate) + 1
  2.  
  3. DATEDIFF(day, '16 Dec 2008 10:10', '16 Dec 2008 10:50') + 1