开发者

Sort the date in database column of sqlite

I am making an iPhone app. In this app i am using sqlite database for storing the dates in the column.

Sort the date in database column of sqlite

The date which I am storing in the database column is not in the sorting order as you can see in the image. Now I want to sort the date according to ascending order. How can I do this. Please provide me so开发者_JAVA技巧me solution.

Thanks in advance.


You need to store the datetime in timestamp format and then try to sort them.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜