I have a DateTime array and I want to see the time elapsed in seconds from 1 element of my array with the current time.
I’m using a Gateway event script:
when test the script I get the error:
File “”, line 4, in TypeError: secondsBetween(): 2nd arg can’t be coerced to java.util.Date
any ideas why is not detecting the 2nd argument as date? if it is coming from my Date Time array…