Help me find the right angle!
November 9, 2007 10:42 AM
Subscribe
I'm looking for an online resource that will allow me to enter a time (in hours, minutes, seconds) and return a listing of the angles between the hands if that time was displayed on an analog clock. Can anyone point me in the right direction?
posted by langeNU to computers & internet (12 comments total)
3 users marked this as a favorite
javascript:$h = prompt("Hour",""); $m = prompt("Minute",""); $ha = $h*30; $hm = $m*6; alert($hm - $ha + ' degrees');
posted by BSummers at 10:49 AM on November 9, 2007 [4 favorites]