Re: time zones

2005-04-28 Thread Monty Harris
> How does one cope with time zones? For example, if I want to timestamp a > record it will timestanp using the local time of my server. I thought that, > e.g if my server was in New York and my customer_location was the UK, I can > just add 5 hours to the time and it would be corr

Re: time zones

2005-04-28 Thread Gleb Paharenko
Hello. The good support of timezones is on TODO list. See: http://dev.mysql.com/doc/mysql/en/todo-future.html "Monty Harris" <[EMAIL PROTECTED]> wrote: > How does one cope with time zones? For example, if I want to timestamp a > record it will timestanp usin

time zones

2005-04-27 Thread Monty Harris
How does one cope with time zones? For example, if I want to timestamp a record it will timestanp using the local time of my server. I thought that, e.g if my server was in New York and my customer_location was the UK, I can just add 5 hours to the time and it would be correct. While that might

Time Zones and Daylight Saving

2005-02-08 Thread Steve Hartley
I'm storing datetime values in UTC for an international site. Then retrieving the data using 'select convert_tz(created, 'GMT','MST') from table_name', so that the datatime appears in the correct local datetime for the user. Does this method take into account daylight savings? If not, how can t

4.1.3 and time zones

2004-07-02 Thread Rick Robinson
Hi all- I just downloaded and installed 4.1.3 on a WinXP environment. Does anyone happen to have the data that should be loaded into all the new time zone catalog tables? And the doc that describes the convert_tz() function and a little more on general use of the time zone capability? My time zo

Re: Time zones and grouping

2003-10-14 Thread Mikhail Entaltsev
t;[EMAIL PROTECTED]> To: "Graeme B. Davis" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, October 14, 2003 2:36 PM Subject: Time zones and grouping > Does anyone know any way to be able to group by day/week/month for an > adjusted date (GMT -> EDT). >

Time zones and grouping

2003-10-14 Thread Graeme B. Davis
Message - From: "Graeme B. Davis" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 10, 2003 2:12 PM Subject: Converting GMT stored data into other zones | I was wondering if anyone had any tricks on the best way to handle | localizing time zones in

RE: timestamps and time zones

2003-05-30 Thread Andrew Hazen
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 internationa

Re: timestamps and time zones

2003-05-30 Thread Egor Egorov
"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 PS

timestamps and time zones

2003-05-29 Thread 2Hosts.com
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 s

Re: time zones?

2002-04-14 Thread DL Neil
Hi everyone, Apologies, I'm coming very late into this conversation, but perhaps I can disperse some of the confusion... Rob's original question: * I'm curious about how MySQL deals with time zones. Our machines are located in the GMT time zone, and recently rolled over to B

Re: time zones?

2002-04-12 Thread Keith C. Ivey
I wrote: > Using UNIX_TIMESTAMP() on a > timestamp column will produce an epoch time (in seconds), but it > won't necessarily be the right epoch time, because of daylight saving > time (summer time) and possibly data that has moved from one time > zone to another. Actually the documentation

Re: time zones?

2002-04-12 Thread Keith C. Ivey
On 12 Apr 2002, at 14:01, Lance Uyehara wrote: > > On 12 Apr 2002, at 13:05, Lance Uyehara wrote: > > > UNIX_TIMESTAMP > > > > Maybe I'm missing something, but I don't think that's the answer. > > How does UNIX_TIMESTAMP() know whether the timestamp is in summer > > time (or even what time zone i

Re: time zones?

2002-04-12 Thread Lance Uyehara
> On 12 Apr 2002, at 13:05, Lance Uyehara wrote: > > > [EMAIL PROTECTED] wrote: > > > > It might be > > > worthwile to have some way of retreiving a timestamp as an epoch value in > > > addition to other fifty ways you can currently retrieve it. (If there > > > already is a way, I'd be thrilled to

Re: time zones?

2002-04-12 Thread Keith C. Ivey
On 12 Apr 2002, at 13:05, Lance Uyehara wrote: > > [EMAIL PROTECTED] wrote: > > It might be > > worthwile to have some way of retreiving a timestamp as an epoch value in > > addition to other fifty ways you can currently retrieve it. (If there > > already is a way, I'd be thrilled to hear about i

Re: time zones?

2002-04-12 Thread Russell E Glaue
We use a Network Time Server to keep the MySQL server in the right time. -RG On Fri, 12 Apr 2002, John Klein wrote: > > [EMAIL PROTECTED] wrote: > > > > As I understand it, the mysql TIMESTAMP type represents the time in your > > local timezone (the one your computer is using). > > > > This make

Re: time zones?

2002-04-12 Thread Lance Uyehara
> [EMAIL PROTECTED] wrote: > > > > As I understand it, the mysql TIMESTAMP type represents the time in your > > local timezone (the one your computer is using). > > > > This makes it problematic to use in timezones that have a summer/daylight > > savings time. All of the date arithmetic functions

Re: time zones?

2002-04-12 Thread John Klein
[EMAIL PROTECTED] wrote: > > As I understand it, the mysql TIMESTAMP type represents the time in your > local timezone (the one your computer is using). > > This makes it problematic to use in timezones that have a summer/daylight > savings time. All of the date arithmetic functions will yield

Re: time zones?

2002-04-12 Thread Erik Rantapaa
as I'm >doing > now with a portgresql dbase that supports a "timestamp with time zone" type. > > I would also be interested in any info anyone can provide on this subject. Thank you > very much. > > Bradley > > Rob wrote: > > > I'm curious

Re: time zones?

2002-04-12 Thread Bradley Brown
rting schema from one dbase to another as I'm doing now with a portgresql dbase that supports a "timestamp with time zone" type. I would also be interested in any info anyone can provide on this subject. Thank you very much. Bradley Rob wrote: > I'm curious about how MySQL

time zones?

2002-04-12 Thread Rob
I'm curious about how MySQL deals with time zones. Our machines are located in the GMT time zone, and recently rolled over to British Standard Time (local daylight savings time). The MySQL installation has started returning NOW() values in local time, not GMT. Is this the way the databa

Re: How to timestamp records across time zones? ##

2002-03-11 Thread Keith C. Ivey
Two more possibilities: 1. Set your MySQL server to use GMT for everything (that is, in the OS, not in MySQL). 2. Store all times as Unix time (seconds since 1970) -- the UNIX_TIMESTAMP() function can be useful for this. Either solution still has the problem of converting to another forma

Re: How to timestamp records across time zones? ##

2002-03-11 Thread DL Neil
issues) onto the computer's shoulders! *** for the benefit of enquiring minds: the two places are in separate time zones! Please call back if I haven't addressed/anticipated all of your issues, =dn - Before posting, ple

How to timestamp records across time zones? ##

2002-03-11 Thread BD
What's the best way to timestamp records if records are to be exported and then re-imported to another web server in a different time zone? Data will be exported as comma delimited data. All of the combined records should reflect the same instant in time, and not have the web site in California