Wrong Date storing

gogaworm at tut.by gogaworm at tut.by
Mon Jan 9 12:06:39 CST 2006


Hello! I came across the following problem. I store the
java.sql.Date
into VJDK.TypeDate field, as:
field.setDate( myDate );

It works without any exceptions. But when I get the Date later,
using
_value = field.getDate();

I get the wrong value, for example I pass 2006-01-09 and get
2006-01-01.

Can you help me, please.
Ilona Karpova



More information about the Valentina mailing list