Answer the question
In order to leave comments, you need to log in
Problem with DATETIME?
The problem is that in the database the date and time data is stored in DATETIME utc.
Initially entered in a different time zone.
There is a problem when you need to pull out data for the month:
In utc, for example, this is 01/31/2018, and in local it is already 02/01/2018.
So how do I get the correct monthly data without wasting a day?
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