I
Ike
For some reason (perhaps because I am running this on Windows?) when I
convert a string in yyyy-mm-dd format to a java.sql.Date, if it is before
April 6, 2003, the value is saved as one day less than is designated in the
String!
For example:
java.sql.Date.valueOf("2003-04-06")
gets stored as a java.sql.Date object as "2003-04-05."
Does anyone have any idea why this is happening, or any experience with such
things happening to them? Thanks, Ike
convert a string in yyyy-mm-dd format to a java.sql.Date, if it is before
April 6, 2003, the value is saved as one day less than is designated in the
String!
For example:
java.sql.Date.valueOf("2003-04-06")
gets stored as a java.sql.Date object as "2003-04-05."
Does anyone have any idea why this is happening, or any experience with such
things happening to them? Thanks, Ike