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 6104625
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T13:51:48+00:00 2026-05-23T13:51:48+00:00

I am developing an app for WP7. I pull some data out of a

  • 0

I am developing an app for WP7.
I pull some data out of a Sterling Database and put in into my own objects. These objects I am deriving a date attribute and setting that – it has a time already (that has been held on the object in the Sterling database).

I then want to sort these objects by date and time before presenting them. Currently Date and time are separate String fields but I can combine them into a DateTime attribute if I want.

Is there a recommended way of doing this. I have seen several options.. but not sure what is the best approach.

Any advice appreciated here. – thanks

  • 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-05-23T13:51:48+00:00Added an answer on May 23, 2026 at 1:51 pm

    If you combine into a DateTime it makes your code a lot smaller. The reason for this is that DateTime supports comaprison operators such as <, >, ==, etc. That way you can just say (time1 < time2) or whatever your comparison function does.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am developing an app for WP7 and need to put out reminders. The
I am developing WP7 app. I met some unexpected behavior. I use PerformanceProgressBar from
I'm developing an app for WP7, but I ran into a problem I haven't
Developing an app where all tabular data is returned as an object. Some cells
I'm developing web app that user can save his/her work to server. The data
I developing an app that is read-only. The data has relationships, so I cannot
I'm developing an app where I use performSelectorInBackground to do some sync task in
currently I'm developing an app for WP7 but came across a little problem with
I'm developing an app for windows mobile . I have my own control that
I'm currently developing a wp7 app (don't want to tell too much ;), but

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.