A
A
Alexander2015-10-18 14:46:08
PHP
Alexander, 2015-10-18 14:46:08

Finding degrees between the hands of a clock through a period of time?

Hello, friends! I wrote a php script that finds the degrees between the hands of the clock, and how can I find the degrees between the hands after a certain period of time.
Thanks a lot!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
Tlito, 2015-10-18
@alex_p95

Divide the amount of time by hours and minutes and
add hours to hours. and minutes to minutes - respectively, take into account the exit for the maximums.
then the procedure is repeated as in your program

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question