Date to mysql datetime

In my example it is in msg.date_time. msg.payload is already an array.
You do not need to use msg.payload you are free to use any other msg property you wish.

1 Like