In lotus designer how we can Select only friday dates in Calender/Time control? (for eg. if we select tuesday date corresponding week's friday date should be selected.)
Software/Hardware used:
Lotus Designer
ASKED:
March 29, 2012 10:20 AM
UPDATED:
May 10, 2012 8:36 AM
@weekday (date) returns the day No. i.e. 1 for sunday, 2 for Monday ….7 for Saturday.
Thus suppose some one selects tuesday, then we can apply @weekday(date) to get the week no. here in this case we will get 3. and to get friday it should be 6 thus if selected no comes less than 6 then we get calulation as 6- return day. if user selects a date and returns 7 then we use 7-6 ie. 1 , then we use formula @adjust to find the week’s friday.