This script will calculate the angle between the hour hand and minute hand of a clock. Simply enter the data (the hour, minutes and seconds) for the clock.1
If the clock in consideration has a minute hand that snaps from minute to minute and an hour hand that snaps from hour to hour then use the first table to enter your data. (The second hand is irrelevant in this case). However, if the clock in question is a normal clock, ie each hand moves in a continuous smooth motion, then use the second table to enter your data.