Yes we can generate today's date via dynamic property but as per me it will be a duplicacy to write same code again and again to overcome this what we are doing is writing a small script in TestController to generate Date in our desired format and storing it in project level
and using it in our Request from there.
def startDate = new Date()
def date = startDate.format("dd-MM-yyyy");
Click "Accept as Solution" if my answer has helped, and remember to give "kudos"🙂 ↓↓↓↓↓
Re: API Masterminds - How to use dynamic properties to get today’s date?
It becomes static value then if the same is used in the test run. Dynamic property is intended for one line of code. So, no optiomation can be done for one line code, I guess. EDIT: There was typo, not online, meant for one line. By the way, Dynamic properties is there for reason to simplify the work i.e., directly evaluate the value within the request using the expression which is better way than compute the value in a script, set it in property and retrieve it before submitting.the request.