Search code examples
iphonemysqldatetimedateios4

Failure retrieving date from MySQL on web server onto iPhone


I am making an iPhone app which has its database on the web server. The database is in MySQL. I retrieve the data from server onto the iPhone using JSON parsing.

I have trouble retrieving the TimeStamp datatype that I store in my database. When I try to retrieve the timestamp on iPhone, it shows datetime as shown in the screenshot.

enter image description here

It is basically like this

/Date(1297432377000-0700)\\/

What could be wrong?


Solution

  • Check this post.