Created on 04-01-2020 08:53 PM - last edited on 04-02-2020 03:32 AM by VidyaSargur
Currently i am using ${now():format("yyyyMMdd")} to extract today's date and passing it to next flow. But i would need Yesterday's and day before's date also in similar way. How can i achieve this.
Appreciate quick response on this.
Created 04-02-2020 06:29 AM
@Gubbi The solution here is a now minute 24 hours:
Yesterday:
${now():minus(86400000):format('MM-dd-yyyy hh:mm:ss') }
Day Before Yesterday:
${now():minus(86400000):minus(86400000):format('MM-dd-yyyy hh:mm:ss') }
View solution in original post