I was asked to create a process to find the next Sunday from a given date.
It's a bit clunky but here is a screenshot of the Generate Attributes operator with the various calculations. It shows how much flexibility there is hidden within this operator.
I'm not sure what would happen over a year boundary so it might be worth doing some more checks in this case.
I can think of a couple of other ways this could be done but I might ask for beer or money to work out the details.