Results 1 to 1 of 1
Thread: setDate problem
- 03-28-2012, 03:58 AM #1
Member
- Join Date
- Feb 2012
- Posts
- 2
- Rep Power
- 0
setDate problem
my program already accepts the date value in a string-i verified this when i tried to display it in console.
i used valueOf(string) and with the correct format.
the other data was inserted into the database correctly except for the date.
the date should be the value of the string but when i checked the database the date is "30.12.1899"
i'd like to know why..
Similar Threads
-
Prepared statement's 'setDate' method and MySQL execption
By glisando in forum JDBCReplies: 5Last Post: 03-05-2010, 08:31 AM -
get Trouble with SetDate
By hungleon88 in forum JDBCReplies: 0Last Post: 09-17-2008, 09:02 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks