Hi. I hope I can get some help from you guys.
I'm having a little trouble getting the date and time the way I want.
I have node red read temp and time from a mysql database, in the database the input of time is like this "2019-07-10 21:39:08" and out of node reds mysql it comes like this "2019-07-10T19:39:08.000Z"
I have added the moment node, but its only the date that is right, the time shows 00:00:00...
So its like this out of the Date/Time formatter: "10-07-2019 00:00:00"
What am I doing wrong?
That should work. I will test. Can you double-check that you are actually getting the date/time you think you are? Use a debug node to output the value that you are feeding into the moment node.
Yes, you need to always check those references carefully. That's why Nick put in those buttons - to help you get the right path, just expand the output then click the button next to the entry you need to capture. The 2nd button copies the value, the 1st copies the property path.