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


Groups > comp.programming > #3856

Time zones

Path csiph.com!eeepc.pasdenom.info!news.pasdenom.info!news.dougwise.org!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!74.125.46.80.MISMATCH!postnews.google.com!d23g2000prj.googlegroups.com!not-for-mail
From Paul N <gw7rib@aol.com>
Newsgroups comp.programming, comp.os.ms-windows.programmer.win32
Subject Time zones
Date Thu, 3 Feb 2011 13:17:18 -0800 (PST)
Organization http://groups.google.com
Lines 23
Message-ID <56f34faf-8f10-4397-8564-d5b950bdb284@d23g2000prj.googlegroups.com> (permalink)
NNTP-Posting-Host 92.20.189.136
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
X-Trace posting.google.com 1296767839 23256 127.0.0.1 (3 Feb 2011 21:17:19 GMT)
X-Complaints-To groups-abuse@google.com
NNTP-Posting-Date Thu, 3 Feb 2011 21:17:19 +0000 (UTC)
Complaints-To groups-abuse@google.com
Injection-Info d23g2000prj.googlegroups.com; posting-host=92.20.189.136; posting-account=0B-afgoAAABP6274zLUJKa8ZpdIdhsYx
User-Agent G2/1.0
X-HTTP-UserAgent Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729),gzip(gfe)
Xref csiph.com comp.programming:3856 comp.os.ms-windows.programmer.win32:2584

Cross-posted to 2 groups.

Show key headers only | 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