Date time format


I am new to gatling and I want to pass time parameter in json post Body in gatling .
In Jmeter I am good by using below parameter:

Please suggest me , how can we pass custom time format for below post pody in gatling.

post Body :
“updateTimeStamp”: “2020-04-21T09:22:20”


You can generate such date Sting with a SimpleDateFormat, store it in the Session in an exec(function) block and inject it in your request body with Gatling EL.