Anyone one convert timestamp (epoc) to formatted time string in a single change node? Say YYYY-MM-DD HH:MM:SS representation. No need for local time, just a UTC epoch to formatted string.
Change node with Jsonata, which has the momentjs library built in.
oops the HH:MM:SS
should be HH:mm:ss
but i hope you get the gist. Documentation.
Or
$fromMillis(payload, "[Y]-[M01]-[D01] [h01]:[m01]:[s01]")
I have GOT to spend some REAL time with JSON functions/data. I have barely used XPATH, so have some learning to do there as well. Thanks guys, this is great, thanks for the nudge in the right direction!
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.