Hi Aditi.
$.now()
produces a timestamp in the following format: yyyy-mm-ddThh:mm:ssZ
. An actual value will look like this: 2023-08-22T19:28:38.698Z
. You can get the current day of the month by using the substring operator in your define variable step. Set the “Starts From” value to 8, and the “Length” to 2.
That will produce a variable that will just have the day of the month. So for a date of 2023-08-22T19:28:38.698Z
, the variable will produce the value 22
.