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