I have a Java app with MySQL db. App and db run on server where is Timezone Europe/Prague. In connection url I use serverTimezone=CET.
In this case I have variable type Date (dd.MM.yyyy) and to db is save the day before.
But if I use serverTimezone=Europe/Prague this problem does not occur.
How is it possible? Where is a difference? Thanks