Jeremy Wilson wrote:

> At 01:07 PM 11/13/01 -0600, Gerald Clark wrote:
> >Start the server with the desired TZ set.
>
> That's all fine and good, but difficult switch back and forth every 10
> minutes while that query runs for local data, then for the remote data.

The way I deal with it (and I don't know that it will help you) is that I
store datetime as an integer from time() GMT.  Then in the report I convert
the time to the correct timezone based on the user's IP (internal network,
different subnets for different TZ/locations).  Of course this is a bad idea
sometime in 2039 (?) or the end of Unix time as we know it.

b.
mysql


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to