They're pretty stored in the database.
But when i take it from the node and sprinkle it into json, it changes into this format.
YY-mm-dd HH:ii:ss
-> YY-mm-ddThh:ii:ss,000Z
,
Why does it happen and How can i fix it?
They're pretty stored in the database.
But when i take it from the node and sprinkle it into json, it changes into this format.
YY-mm-dd HH:ii:ss
-> YY-mm-ddThh:ii:ss,000Z
,
Why does it happen and How can i fix it?
It is getting converted to a date object and when you stringify the javascript object it will call the date.toISOString() format, take a look at this: Node.js - How to format a date string in UTC
If you post some code we can help you.