Hi;
I have a
jsp and passing start_date as a
string with this format
input string 2006-01-02 03:04:00
database timestamp: 2006-01-02 03:04:00
in the database, the
java method expected Date '2006-01-02 03:04:00' as parameter . In the SQL it search like "select * from table where date1 >= '2006-01-01 12:13:00' and date2 <= '2007-01-02 12:13:00'"
Here what I do:
Many thanks for your help. Regards