Date -X days as variable

Hallo,

in EbayGetOrders - Auftragsdaten abrufen, is a place for a Erstellungsdatum von and I want to have this variable dynamic. Soo for example it will take last 10 days from today pseudo code: {$now|-10days},

How I can set my own Variable in this way?


Thank you!

Mateusz

Hello Mateusz,



you can add an HTMLTextWriter and enter the following:



${datecalc(.now?string('yyyy-MM-dd'), "DAY", -10)?date?string('yyyy-MM-dd')}



The output is available as variable. You can find more infos here.



kind regards,


Rocco



COOL , thanks!