my database is Microsoft SQL 2000
the database field's type is datetime
my
JDBC driver is JTurbo or i-net
I get this field value through calling getTime() in
java code.
my question is :
if I run my program in jdk1.3 ,I can get right minute value ,but if run same program in jdk1.4.2
I can not get right minute value.
for example :
in database execute query ,and get result :
realOffdutyDate
----- -------------------
1900-01-01 08:06:00.000
run program in jdk1.3:
get minute : 6
run program in jdk1.4.2:
get minute : 11