Wrong Date storing

Ruslan Zasukhin sunshine at public.kherson.ua
Mon Jan 9 12:43:10 CST 2006


On 1/9/06 12:06 PM, "gogaworm at tut.by" <gogaworm at tut.by> wrote:

Hi Ilona,

> 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.

You use VJDK 1.x right ?

Usually such kind of problem can go because you have db.DateFormat different
from format of date values you send. Check this point.


-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list