Convert joda.time.DateTime to java.sql.Date and retain time zone
问题 I have the following scenario: Swing control that returns a Calendar object Intermediate DateTime object that I use to do heavy date/time manipulation (joda) Database connection ( OraclePreparedStatement ) that only takes a java.sql.Date object My problem is that the Calendar and DateTime objects are properly displaying the date in GMT (which I want), but when I convert to java.sql.Date in order to send to the database, the date is converted to the local time zone. For example: Calendar and