Added some UTC transition handling code

Added code to deal with the transition to UTC. Requires new headers,
otherwise it will always ask for UTC offset (selected 0 when time not in
UTC)