Storing timestamp

Hello, I want to store time stamp after data get stored into csv file so, How do I create timestamp and store it along with data in csv file?

I think a change node can generate a timestamp.

If not, a function node with var ts =; will do the job.

If you want more help, provide more details & a demo flow.

If the target output is a CSV file, you also need to think about the output format. If you follow Steve's advice, you will most likely end up with ISO8601 format, e.g. 2021-05-31T15:45:00.000Z. Meaning that the timestamp will also be in the UTC timezone. That's a common format clearly readable by humans and machines but not all applications will recognise it.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.