The static dates are just examples. Substitute the correct column names.
Shifting gears, to get the duration between two DATETIME datatypes, just subtract the smaller of the two from the larger of the two and format the result the way you want with CONVERT (good enough for durations < 24 hours) and other tricks (necessary if you have durations >= 24 hours.
--Jeff Moden
Change is inevitable... Change for the better is not.