I need your help with this one issue that I’ve been trying to solve for quite some time.
My requirement is to take one date in the future and day of the week(Sun, Mon, etc) as input and display Date of the first occurrence of that particular day of the week after the given date.
I have tried using Javascript and some plugins but nothing ended up helping me.
Hi there, @maheshkasindi… I created an example that does what you described. In my example, I am using a date/time picker to select the date in the future, and I am using an option set to display the weekdays in a dropdown. The option set has an attribute on it (called day number) that is the weekday number associated with each option (Sunday = 0, Monday = 1, etc).
With that setup in place, a text element with the following expression and conditional produces the resulting date that you described.