Converting Time Difference to Minutes: A Problem for Idiots

  • Context: High School 
  • Thread starter Thread starter King
  • Start date Start date
  • Tags Tags
    Difference Time
Click For Summary

Discussion Overview

The discussion revolves around converting time differences into minutes, specifically using a 24-hour clock format. Participants explore different methods of calculating time differences and the implications of representing time in various formats, including programming considerations.

Discussion Character

  • Technical explanation
  • Conceptual clarification
  • Debate/contested

Main Points Raised

  • One participant questions the necessity of dividing by 100 when converting the time difference of 600 to minutes, seeking clarification on the process.
  • Another participant explains that dividing by 100 is required to convert the "hours*100" format back to hours.
  • A different perspective suggests that subtracting times directly in HH:MM format is more intuitive, providing examples to illustrate this method.
  • One participant emphasizes the importance of understanding the conversion process in the context of programming, noting that using HHMM-HHMM simplifies calculations despite being less intuitive for mental math.

Areas of Agreement / Disagreement

Participants express differing views on the best method for calculating time differences, with some advocating for the HH:MM format and others supporting the HHMM approach. The discussion remains unresolved regarding the optimal method for conversion.

Contextual Notes

Participants highlight the complexity of programming time calculations and the potential confusion arising from different time representation formats. There are also assumptions about familiarity with time formats that may not be universally shared.

King
Messages
43
Reaction score
0
Hey all,

I have a quick question about converting a difference between 2 times into minutes.
I am modelling a 24 hour clock. The time 900 represents the time 09:00 and 1500 represents the time 15:00. If I subtract the two I get a difference of 600. If I want to convert this to minutes I would write (600/100)*60. There's my answer, but I can't seem to get my head round what (600/100) is doing. Why do I need to divide it by 100?

This question was brought to you by an idiot.
 
Mathematics news on Phys.org
Because you represent hours as "hours*100", so to get "hours" back you need to divide by 100.
 
12 and 24 hour clocks use the format: HH:MM, where H is an hour digit and M is a minute digit. Don't subtract the two times like that.
15:00 - 09:00 = 6:00
Six hours.
There's 60 minutes in an hour, so multiply this by 60 minutes per hour.

6 hour*\frac{60 minute}{1 hour} = 360 minutes

You don't need to divide by 100.

Let's say you were looking at the difference between 7:00 and 8:45. Since there's 60 minutes in an hour, you can look at it like this.

You need 60 minutes to reach 8:00 from 7:00. Then you need an additional 45 minutes to reach 8:45.

Look at the difference between 7:00 and 10:30 now.
You need 3 hours (10-7) and 30 minutes (30-0) to reach the end time. To get this into minutes, just multiply the 3 hours by 60 minutes per hour = (180 minutes), and add to 30 minutes to obtain 210 minutes.

Hope this helps. Remember, there are no stupid questions; only answers can be stupid.
 
Thanks a lot for the answers. Makes sense now :smile:

The reason I had to do it like that however is for computer programming. Unfortunately coding a program to understand HH:MM is more complicated than doing HHMM-HHMM, though the former is so much easier to do in our heads :-p
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
8
Views
3K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 17 ·
Replies
17
Views
4K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 20 ·
Replies
20
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K