The time zone on the JVM is CST. On the postgres it is not set in the conf file so I assume it defaults to system setting which is set to CST. Below is the modified code: The result is: Setting Date To: 1107356400000 -> 2005-2-2
pgsql-jdbc by date:
Соглашаюсь с условиями обработки персональных данных