I think the pertinent question is how to reliably get the client's time
zone? I think you need a javascript to use the browser controls to check
the timezone setting on the local computer and add it to a form on the
page.  Web page issue more than a DB issue.

Andrew Hazen
www.jatech.ca
[EMAIL PROTECTED]
[EMAIL PROTECTED]


-----Original Message-----
From: Egor Egorov [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 29, 2003 7:19 AM
To: [EMAIL PROTECTED]
Subject: Re: timestamps and time zones

"2Hosts.com" <[EMAIL PROTECTED]> wrote:
> Bearing in mind the international nature of the internet, how do I
make a
> timestamp local to the user rather than local to my webserver in
Canada?  If
> a user is adding a record to my database from England, I want the
timestamp
> to be GMT rather than PST, and the same for my Australian clients, and
so
> on.
> 
> I will probably still use a "master" time stamp too which will be
"master
> server time" much like "ebay time".
> 
> How do I go about this?

What about just add needed interval to the current time depending on
client timezone?



-- 
For technical support contracts, goto
https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Egor Egorov
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com




-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:
http://lists.mysql.com/[EMAIL PROTECTED]


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to