sql server week number to start date end date code example Example: sql server week number datepart(wk, DateToParse)