I've got a flow that queries an Oracle DB and returns a datetime stamp, I'm then formatting it using a template node for ingestion into a Tulip Table node.
For some reason the template node is deciding that it should change the format of the stamp:
The Oracle DB is returning a Date object. you will need to convert it with either JS in a function node msg.sfhqp_date_completed = msg.completeDate.toISOString();
No template required then
Or ask Oracle to format it to an ISO timestamp Format Models
The reason that it comes out as it does in the template node is that the template node, seeing that it is not a string, calls toString() to convert it, which gives the string you see.