🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #5744

Re: Datetime conversion between timezones

#5744
From: Dennis Jones
Date: Fri, 08 Jul 2005 21:58
29 lines
2038 bytes
"Michael Gillen" <michael@gillenconsultinggroup-nospam.com> wrote in message
news:42cef33b$1@newsgroups.borland.com...
> Dennis Jones wrote:
> > Several timezones have the same offset from UTC, but have differing
rules
> > for dealing with standard/daylight times.  So, if your sole piece of
> > information about a timezone is its offset from UTC, you have an
ambiguity
> > for which there is no resolution.  For instance, if you have -0700,
there is
> > no way to know if that refers to Mountain Standard Time (which adjusts
for
> > daylight savings) or US Mountain Standard Time (Arizona, which does not
> > adjust for daylight savings).  Sigh.
> >
> > - Dennis
>
> I beleive that here's the key that you want.
>
> HKLM\CurrentControlSet\Control\TimeZoneInformation

Michael,

You must have misread my comment.  That registry data is exactly what you
get when you call GetTimeZoneInformation, and has no bearing on the problem
I described.  How did you think it could be used to resolve the ambiguity?

- Dennis
Technical Details
Message-ID: <42cef722$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!meganewsservers.com!feeder2.on.meganewsservers.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42cec603$1@newsgroups.borland.com> <42ceea0d@newsgroups.borland.com> <42cef33b$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,424ca78a9d71afb
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Dennis Jones" <nospam@nospam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <42cec603$1@newsgroups.borland.com> <42ceea0d@newsgroups.borland.com> <42cef33b$1@newsgroups.borland.com>
Subject: Re: Datetime conversion between timezones
Date: Fri, 8 Jul 2005 14:58:56 -0700
Lines: 31
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 204.200.27.7
Message-ID: <42cef722$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1120859938 204.200.27.7 (8 Jul 2005 14:58:58 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!meganewsservers.com!feeder2.on.meganewsservers.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail