Languages

node-postgres - difference in the date notation

0 points
Asked by:
Tehya-Blanchard
474

I wanted to group the rows in my database by day, but when I query heidiSQL and then node.js, I get a difference in the results - the days are different in both cases. How to fix it?

Results in HeidiSQL:

 

Results in Node.js:

My code: 

0 answers
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join