The calculation is an hour for every 15 degrees you are away from the Greenwich meridian . You need to know your longitude , then do the calculation . Remember to do plus or minus depending if you are East or West....... eg. if you are in mid Atlantic somewhere , say 45 degrees West .....its minus three hours..
Chat with our AI personalities
minute_deg = minute * 360 / 60 = minute * 6;The hour hand will make a complete revolution every hour, so its formula is:hour_deg = hour * 360 / 12 = hour * 30;A function to find the angle would be:int angleBetweenHands(int hour, int minute){if(hour > 12) // In case of 24 hour clockhour -= 12;int angle = hour * 30 - minute * 6;if(angle > 180)angle = 360 - angle;return(angle);}Read more: C_code_to_find_angle_between_hour_hand_and_minute_hand
Greenwich meridian
Yes, I can.It is the angle between the hour hand and 12 when the time is 4:20Yes, I can.It is the angle between the hour hand and 12 when the time is 4:20Yes, I can.It is the angle between the hour hand and 12 when the time is 4:20Yes, I can.It is the angle between the hour hand and 12 when the time is 4:20
Yes.
Lets start by thinking of a clock as a circle, with directly up being 0 degrees. At 12:00, both hands are at 0 pointing straight up. Every 60 minutes, the minute hand will make a complete revolution, so at any given time its angle is: minute_deg = minute * 360 / 60 = minute * 6; The hour hand will make a complete revolution every hour, so its formula is: hour_deg = hour * 360 / 12 = hour * 30; A function to find the angle would be: int angleBetweenHands(int hour, int minute) { if(hour > 12) // In case of 24 hour clock hour -= 12; int angle = hour * 30 - minute * 6; if(angle > 180) angle = 360 - angle; return(angle); }