Android Question Mysql JRDC Date problem

John Decowski

Member
Licensed User
Longtime User
I have a mySql datebase with a date/time field. When i view it in mysql it views as a date fine. I can even add to the date fine with JRDC. But the problem happens when I query the results from JRDC to my android app I get some weird long integer that doesn't resemble a date at all. for instance my sql says field value is: 2012-12-19 00:00:00 comes back as : 1355875200000
Every other field returns fine. Just issue with the date/ time field.

sorry if this issue has been already address elsewhere but I did try and find in the search.

Thanks alot
 
Top