Is there a way I can loop through this array and convert the values to `'%Y-%m-%dT%H:%M:%S'`
Page 1 / 1
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
Login to the community
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.