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.
it is not an Integer, it is a long.
And the result are "Ticks", you can easy convert this ticks to string with the DateUtils-Class:
DateUtils.TicksToString(978.....)
it is not an Integer, it is a long.
And the result are "Ticks", you can easy convert this ticks to string with the DateUtils-Class:
DateUtils.TicksToString(978.....)