Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #3856

Time zones

From Paul N <gw7rib@aol.com>
Newsgroups comp.programming, comp.os.ms-windows.programmer.win32
Subject Time zones
Date 2011-02-03 13:17 -0800
Organization http://groups.google.com
Message-ID <56f34faf-8f10-4397-8564-d5b950bdb284@d23g2000prj.googlegroups.com> (permalink)

Cross-posted to 2 groups.

Show all headers | View raw


I wanted to write a program which would display a number of clocks
showing the time in various parts of the world. I've written the
program, but so far it only lets you choose one of three time zones -
local (uses localtime), GMT (uses gmtime) and BST (adds one hour to
GMT). I'd like it to show the time in other places as well, but I
don't know how to find out the relevant times, particularly the
details of when they change the hour forward/back. Can anyone help
with this?

I was wondering whether time.microsoft.com could help with this. In
particular, the program at
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=07fb0bd8-f390-458d-a629-6f0258ac7cdf&displaylang=en
seems to be doing what I want my program to do. But they don't seem to
have provided the source code, or an example.

I haven't actually written any programs before that use the internet,
but I'm prepared to give it a try.

So can anyone help - either showing how to use the above or by some
other method?

Thanks a lot.
Paul.

Back to comp.programming | Previous | Next | Find similar


Thread

Time zones Paul N <gw7rib@aol.com> - 2011-02-03 13:17 -0800

csiph-web