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
This issues is coming when we are using date DataType in Microsoft sql. I have fixed this to change date to datetime.