Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7994381
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T14:06:59+00:00 2026-06-04T14:06:59+00:00

I am storing data in Sqlite Database along with the date of insertion. The

  • 0

I am storing data in Sqlite Database along with the date of insertion. The date is also stored in the sqlite as String format. Is it possible to retrieve the data with sorting Date. I doubt about this, since Date is also storing as string. If this is not possible by querying, is there any way to sort NSDate.

What is the issue of down vote for this question. Because of this I am not able to post questions. Please remove the down vote. Someone who understood my question had already replied. If no one shouldn’t understand this question, then why Omar Abdelhafith answered for this question. That idea also helped me.

Thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T14:07:00+00:00Added an answer on June 4, 2026 at 2:07 pm

    What comes to my mind now, is to convert all string data to Time Interval since 1970
    This way time and date are easier to deal with since they are integers
    Then you could do something like

       sortDesc = [[NSSortDescriptor alloc] initWithKey:@"title" ascending:YES];
        [array sortUsingDescriptors:[NSArray arrayWithObject:sortDesc]];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using Microsoft Access database for storing data. In that, I stored date
In my c# application i am inserting data into sqlite database as below String
I am using sqlite database for storing data. One of the table contains fields
ok..so i'm reading from an sqlite db data into a string...it works..but when the
I often find myself storing data in a mysql database, and then wanting to
I need to use SQLite database file as a file for storing information, and
I've around 1GB of structured text data, (which is currently stored in database MySQL,
I'm committed along the route of using SQLite without core data. I need to
I'm trying to use an SQLite database to store some data for my app.
I am storing information on the phone's contacts using a sqlite database. The fields

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.