1

How to generate utc timestamp using node.js in the following format: 2015-10-19 14:22:01. Actual purpose is to generate the current_utc_timestamp using node.js and then to store it in mysql datetime column.

0

1 Answer 1

0

You may use moment.js library in order to do so. Here is the link for it:

http://momentjs.com/docs/

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.