Answer the question
In order to leave comments, you need to log in
Date issue in node.js and Oracle?
Connected to the database and trying to add a record with a date
...
// maxId = 0
// d = '31.01.2019 17:20:31'
connection.execute(
`INSERT INTO AVG_PRICE_HISTORY (ID_RECORD, DATETIME) VALUES (:id, TO_DATE(:dt))`,
{id: maxId+1, dt: d},
...
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question