I am using Java JDBC to write a date to SQL server 2008 and then read it back. The date that is read back is consistently two days earlier than the date that was actuall
If you are using MSSQL 2015, use this Sqljdbc41 to fix this issue
com.microsoft.sqlserver sqljdbc41 6.0.8112