Skip to main content

Is there a way I can loop through this array and convert the values to `'%Y-%m-%dT%H:%M:%S'`

You could use a <https://docs.cribl.io/stream/code-function|Code Function> + https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map|Array.map()```try { __e["push_results"] = __e["push_results"] .map(el => { return C.Time.strftime(el, '%Y-%m-%dT%H:%M:%S') })} catch (err) {}```


You'll need a Code function.... haha there it is


Hehehe


Worked perfectly, thank you both


WOOHOO!


Reply