Article View: borland.public.cppbuilder.nativeapi
Article #1790TDateTime & GMT
From: Robert G. Hoover
Date: Tue, 19 Jun 2007 18:10
Date: Tue, 19 Jun 2007 18:10
12 lines
1140 bytes
1140 bytes
Hi All, Is there an easy way to convert the current time to a different timezone? Something like this...? AnsiString TimeString = Now().FormatString(GMT); Or do I have to use a TIME_ZONE_INFORMATION object or something? Thanks! Rob
Technical Details
Message-ID:
<46781ca0@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,92eb08d929c9d2d7,start X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Date: Tue, 19 Jun 2007 14:10:43 -0400 From: "Robert G. Hoover" <not.a.real.address@anywhere.sorry> User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: TDateTime & GMT X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 000750-2, 06/19/2007), Outbound message X-Antivirus-Status: Clean NNTP-Posting-Host: 76.106.54.160 Message-ID: <46781ca0@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1182276768 76.106.54.160 (19 Jun 2007 11:12:48 -0700) Lines: 12 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail