adding a function to calculate all weeks within a date range