Hi,
i try to set the dateEnd from a Task from a targetEntityfield.
Following formula works:
"dateEnd = datetime\format(targetEntity\attribute('abrechnung stermin1'),,'YYYY-MM-DD hh:mm');"
now i dont want to set it to this date, but add days to that:
dateEnd = datetime\addDays(datetime\format(targetEntity\attr ibute('abrechnungstermin1'),,'YYYY-MM-DD hh:mm'), 30);
this doesnt work.
I also tried, but doesnt work either:
dateEnd = datetime\format(tdatetime\addDays(datetime\format( targetEntity\attribute('abrechnungstermin1'),,'YYY Y-MM-DD hh:mm'), 30),,'YYYY-MM-DD hh:mm');
any idea how to add 30 days with a formula?
best, mike
i try to set the dateEnd from a Task from a targetEntityfield.
Following formula works:
"dateEnd = datetime\format(targetEntity\attribute('abrechnung stermin1'),,'YYYY-MM-DD hh:mm');"
now i dont want to set it to this date, but add days to that:
dateEnd = datetime\addDays(datetime\format(targetEntity\attr ibute('abrechnungstermin1'),,'YYYY-MM-DD hh:mm'), 30);
this doesnt work.
I also tried, but doesnt work either:
dateEnd = datetime\format(tdatetime\addDays(datetime\format( targetEntity\attribute('abrechnungstermin1'),,'YYY Y-MM-DD hh:mm'), 30),,'YYYY-MM-DD hh:mm');
any idea how to add 30 days with a formula?
best, mike
Comment