Hello,
i have a bean class to read a table from a MSSQL DB. The bean constructs a date field(a). The field seems to be formatted diffrent from a normal Date object.
System.out.println(a)=> "2007-09-14 11:32:59.76" from Database
Date b = new Date...
System.out.println(b)=> "Mon Oct 14 12:20:19 CEST 3907"
Both a and b are date objects.
I would like to read only beans from date x till date y. It seems like a have to convert the b date object to the a date object format, allthough both have the same type.
Now i would like to know, who to do this?
kind regards
martie
|