Article View: borland.public.cppbuilder.nativeapi
Article #1792Re: TDateTime & GMT
From: Bob Gonder
Date: Tue, 19 Jun 2007 21:10
Date: Tue, 19 Jun 2007 21:10
12 lines
1315 bytes
1315 bytes
Robert G. Hoover wrote: >Is there an easy way to convert the current time to a different >timezone? Something like this...? > >AnsiString TimeString = Now().FormatString(GMT); I don't think so. >Or do I have to use a TIME_ZONE_INFORMATION object or something? I think SystemTimeToTzSpecificLocalTime()
Technical Details
Message-ID:
<1ehg739aat99r02rpul545a231t4oo8n3n@4ax.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.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:
<46781ca0@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,92eb08d929c9d2d7 X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: TDateTime & GMT Date: Tue, 19 Jun 2007 14:10:37 -0700 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <1ehg739aat99r02rpul545a231t4oo8n3n@4ax.com> References: <46781ca0@newsgroups.borland.com> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 67.77.145.161 X-Trace: newsgroups.borland.com 1182287436 67.77.145.161 (19 Jun 2007 14:10:36 -0700) Lines: 14 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.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