HiThanks for the response.After you reply, I put below code in WeekDaysvar fromDate = Start_Date1var toDate = End_Date1if ( HasValue(fromDate) & HasValue(toDate) ) then var fromDateAsNum = Date2Num(fromDate, "YYYY-MM-DD", "en_IE") var toDateAsNum = Date2Num(toDate, "YYYY-MM-DD", "e...