Hello
I ask for help.
Peter
field: dateStartDate (date/time)
field: closeDate (date)
code in workflow:
dateStartDate = datetime\addDays(targetEntity\attribute('closeDate '), -3);
dateStartDate = datetime\addHours(dateStartDate, 6)
duration = '900';
Result see screenshot. The day was calculated correctly.
I ask for help.
Peter
field: dateStartDate (date/time)
field: closeDate (date)
code in workflow:
dateStartDate = datetime\addDays(targetEntity\attribute('closeDate '), -3);
dateStartDate = datetime\addHours(dateStartDate, 6)
duration = '900';
Result see screenshot. The day was calculated correctly.