Fixes #5531: correctly detect timezone on windows
Merge pull request #498 from ncharles/bug_5531/dev/clock_management_windows

Fixes #5531: correctly detect timezone on windows