@abhi1o3 Timers are configured using an ISO 8601 time format. Date should be specified as UTC format like 2016-03-11T12:13:14
or UTC (e.g., 2016-03-11T12:13:14Z
) or with a UTC-relative offset (e.g., 2016-03-11T12:13:14+01
).
You should use like this ${dateTime().minusDays(1).toDate()}
.
Parsing the date will return string representation of date value. So you can use dateformatter to parse date in ISO format like yyyy-MM-dd'T'HH:MM:ss SSSZ
Refer these below posts will be helpful: