🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Timezone problems

#46
From: Alan Bellingham
Date: Thu, 07 Aug 2008 10:03
16 lines
1442 bytes
"Michael Thomsen" <sorry@no.spam> wrote:

>Can anybody tell me what I'm doing wrong?

Is there any reason why you're not using GetSystemTime(), which is
documented as follows:

 "The GetSystemTime function retrieves the current system date and time.
  The system time is expressed in Coordinated Universal Time (UTC)."

(Otherwise, do check the PC's clock is actually set correctly.)

Alan Bellingham
-- 
Team Browns
ACCU Conference 2009: to be announced
Technical Details
Message-ID: <rthl94t14h81brqfkgs8dv2qotntod0rnc@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <op.ufifwanvhrxo93@mtpc>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,72d268c072426e86,start
X-Google-Attributes: gid10cc67,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Alan Bellingham <alan@lspace.org>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Timezone problems
Date: Thu, 07 Aug 2008 11:03:08 +0100
Organization: Private
Reply-To: alan@lspace.org
Message-ID: <rthl94t14h81brqfkgs8dv2qotntod0rnc@4ax.com>
References: <op.ufifwanvhrxo93@mtpc>
X-Newsreader: Forte Agent 4.2/32.1118
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 193.129.251.253
X-Trace: newsgroups.borland.com 1218103387 193.129.251.253 (7 Aug 2008 03:03:07 -0700)
Lines: 16
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
X-Original-Bytes: 1259