0

I have a Mysql DB on time zone UTC and PHP server in Timezone Europe, Bucharest (GMT+03:00).

When query like giving me result in month=8 and year=2018, because different Timezone there's some result in month 7. The result in month 8 in DB Timezone start from 31-07-2018 21:00 to 31-08-2018 21:00 not (start from 01-08-2018 00:00 to 31-08-2018 23:59) is a real result for my client in his time zone.

So is there a way to set Timezone on query and get exactly result meet Timezone of my client?

0 Answers0