unfortunately, out of the box, parameters cannot be set dynamically.
Since this is with dates, would something like the solution in Can't use the sheet hiding/popping method in v10.1? work in your situation?
Otherwise this article https://www.interworks.com/blog/daustin/2015/12/17/dynamic-parameters-tableau outlines using the JavaAPI to achieve Dynamic parameters.
hope this helps!