http://qs1969.pair.com?node_id=425614


in reply to Re: Basic programming question
in thread Basic programming question

You missed subracting from the hour with this substitution. Update: The update fixes the problem, but I still prefer the simpler options like B for readability.