CLEAR ? GetFirstDayOfWeek(19, 2006) ? GetLastDayOfWeek(19, 2006) FUNCTION GetFirstDayOfWeek(lnWeekNumber, lnYear) IF VARTYPE(lnYear) # [N] lnYear = YEAR(DATE()) ENDIF RETURN DATE(lnYear,1,1)+(lnWeekNumber-1)*7 - DOW(DATE(lnYear,1,1),2)+1 FUNCTION GetLastDayOfWeek(lnWeekNumber, lnYear) RETURN GetFirstDayOfWeek(lnWeekNumber, lnYear)+6Not properly tested, and it is related to what you mean 1 week in the year and also what is first day of the week. These functions are based on 1/1/year is the first week in the year and Monday is the first day of the week.