Fixes #5341: correctly detect timezone on windows
Merge pull request #457 from ncharles/bug_5341/dev/clock_management_windows

Fixes #5341: correctly detect timezone on windows