facebook

Calculating Days in a Period

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #328788 Reply

    Hi:

    I have 1 spinner for MonthA, 1 spinner for DayA,1 spinner for YearA, 1 spinner for MonthB, 1 spinner for DayB and 1 spinner for YearB. I also have text fields for the time of Date A and the time of DateB. What is the best way to determine the number of days in the period? For example:

    Date A = August 6, 2012 at 8:00AM and
    Date B = August 8, 2012 at 10:00 AM.

    How do I determine that this is 2 days and 2 hours, or 2.083 days (2 + 2/24)?

    Thank you,

    Celeste

Viewing 1 post (of 1 total)
Reply To: Calculating Days in a Period

You must be logged in to post in the forum log in