Article View: borland.public.cppbuilder.nativeapi
Article #51Re: Timezone problems
From: Remy Lebeau (TeamB)
Date: Thu, 07 Aug 2008 16:31
Date: Thu, 07 Aug 2008 16:31
16 lines
1548 bytes
1548 bytes
"Michael Thomsen" <sorry@no.spam> wrote in message news:op.ufifwanvhrxo93@mtpc... > I would like to convert the current PC time into UTC. According to > my documentation the function GetTimeZoneInformation() should do > what I need, but either it doesn't work, or I do not understand how it > works: You are not taking all of the TTimeZoneInformation values into account. The DaylightBias value is only valid if GetTimeZoneInformation() returns TIME_ZONE_ID_DAYLIGHT and the TTimeZoneInformation.DaylightDate.wMonth value is not zero. Gambit
Technical Details
Message-ID:
<489b23b8@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<op.ufifwanvhrxo93@mtpc>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,72d268c072426e86 X-Google-Attributes: gid10cc67,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <op.ufifwanvhrxo93@mtpc> Subject: Re: Timezone problems Date: Thu, 7 Aug 2008 09:31:08 -0700 Lines: 18 Organization: Lebeau Software X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 207.178.157.90 Message-ID: <489b23b8@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1218126776 207.178.157.90 (7 Aug 2008 09:32:56 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail