By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
if the given date is 06/07/2000(mm/dd/yyyy format)
then this formula calculates the weekend saturday date as 06/10/2000.
if the given date is a saturday, then it is the same as the weekend date.
strtDay := @Weekday(GivenDate);
weekday := @If(strtDay < 7;@Adjust(Givendate;0;0;(7-strtday);0;0;0);Givendate);