Coding endDate in script

Try system.date.setTime.
https://docs.inductiveautomation.com/display/DOC81/system.date.setTime

Please also see Wiki - how to post code on this forum.

1 Like