I just tried to get new created Items from some project management tool via Interval -> HTTP-Request. To get only new items, I would like to filter the rest call via created_on=>2019-09-27:18:59:100.
var d = Date(Date.now());
item.lastCallTimestamp = d.getUTCFullYear() +
‘-’ + pad(d.getUTCMonth() + 1) +
‘-’ + pad(d.getUTCDate()) +
‘T’ + pad(d.getUTCHours()) +
‘:’ + pad(d.getUTCMinutes()) +
‘:’ + pad(d.getUTCSeconds()) +
‘.’ + (d.getUTCMilliseconds() / 1000).toFixed(3).slice(2, 5) +
However I juts get the error "
d.getUTCFullYear is not a function".
Is there any more detailed description how expressions could be used / what is supported?
Thank you in advance!