While researching an answer to this question I stumbled across the term "חצות האמצעי". What does it mean? Does it refer to halachic midday, i.e. halfway between netz hachama and shkias hachama, or ...
It seems pretty easy to calculate from the get-go that the formula is something like this: # a halachic hour is one twelfth of the time between sunrise and sunset halachicHour = (timeOfSunset - ...