How do you calculate the number of weeks between two dates?

Posted by Kip Birgen on Stack Overflow See other posts from Stack Overflow or by Kip Birgen
Published on 2010-03-29T14:10:51Z Indexed on 2010/03/29 14:13 UTC
Read the original article Hit count: 387

Filed under:

How do you calculate the number of weeks between two dates?

Declare @StartDate as DateTime = "01 Jan 2009"; Declare @EndDate as DateTime = "01 June 2009";

@StartDate and @EndDate

© Stack Overflow or respective owner

Related posts about tsql