![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#2 |
|
Newbie
Join Date: Feb 2006
Posts: 6
Rep Power: 0
![]() |
need help on how to calculate between 2 input times.
Dear friends,
I would like to get help from you guys on how to calculate the different between 2 input times (in minutes). for example : user_input_start_time = 10.25 /* means 10.25 AM */ user_input_end_time = 11.05 /* means 11.05 AM */ total_diff_time = user_input_end_time - user_input_start_time from the above example , if use calculator, the answer is 0.80, but the actual total_diff_time is only 0.40 (means 40 minutes). How to calculate the above case in C programming. Pls. help me. Kind regards Oslan Last edited by oslan; Feb 8th, 2006 at 6:19 AM. Reason: speeling error |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|