PHOENIX-1043 Add timezone conversion function

Contributed by Vaclav Loffelmann