1

I am making an iPhone app. In this app i am using sqlite database for storing the dates in the column. enter image description here 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 some solution.

Thanks in advance.

Minkle Garg
  • 723
  • 3
  • 9
  • 35

1 Answers1

0

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

user2538944
  • 305
  • 4
  • 12