First version of this showed funnies which took me ages to explain.
Solved it by a re-write of the code. Eventually realised that a quicker fix
would have been to declare date_default_timezone_set('UTC').
date_default_timezone_get() = UTC
1970-Jan-01 12:00:00