MySQL Forums
Forum List  »  Connector/Node.js

Re: Dates being returned in the wrong timezone
Posted by: Lawrence Marigold
Date: November 26, 2020 03:43AM

I can fix the issue by doing this in the js code:

select unix_timstamp(max(updatedOn)) from products

then multiplying the result by 1000 before turning into a js date, but that seems a bit involved...

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.