🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.multi-tier
Article #217

Re: What is the best way to handle time zones

#217
From: Mark Guerrieri
Date: Thu, 01 Jul 2004 14:48
20 lines
1694 bytes
I had this exact issue.  I store the times GMT on the server, and I built a
light-weight COM object for the client that handles Time Zone conversions
to/from any Time Zone.  I use TADO... classes on the client, so I wrote
event handlers for the date field TField decendants that returns the
converted values to grids, reports, web pages, etc...

Mark

"Claude" <claude@dev.scomage.com> wrote in message
news:40e41d7e$1@newsgroups.borland.com...
> I am looking for the best way to handle time zones.
> The database has date/time. in GMT.
> The client may be in any timezone when retrieving a schedule.
> The schedule may be viewed using their local time or viewed using another
> time zone.
> I was thinking of doing a conversion on the server side but the client
side
> knows the zone.
>
>
Technical Details
Message-ID: <40e4241d$2@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40e41d7e$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: fcd2b,d0b0404ff1dd09eb
X-Google-Attributes: gidfcd2b,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Mark Guerrieri" <markg11@comcast.net>
Newsgroups: borland.public.cppbuilder.database.multi-tier
References: <40e41d7e$1@newsgroups.borland.com>
Subject: Re: What is the best way to handle time zones
Date: Thu, 1 Jul 2004 10:48:24 -0400
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.39.161.71
Message-ID: <40e4241d$2@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1088693277 68.39.161.71 (1 Jul 2004 07:47:57 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail