 |
JDBC give MySQL datetime in UTC - Stack Overflow
A JDBC driver must use the local timezone when retrieving or storing timestamps, unless a Calendar with the specific timezone is provided. Unfortunately, the JDBC spec isn't always clear on how drivers should behave, and it looks like MySQL does it wrong.
stackoverflow.com |
 |