Comments on: Selection of Friday Date
https://itknowledgeexchange.techtarget.com/itanswers/selection-of-friday-date/
Fri, 25 May 2018 14:33:30 +0000hourly1By: shivasanjay
https://itknowledgeexchange.techtarget.com/itanswers/selection-of-friday-date/#comment-107380
Thu, 10 May 2012 08:36:46 +0000#comment-107380@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.
]]>