|
Comments for: ehresman20030911
| Message # 1019389: |
|
Date: 03/18/04 17:58
By: Olav Alexander Mjelde Subject: RE: Well Done Well.. You can say this was a great article, but I had the same thing in my head! My problem is, as Peter Matuchniak stated above: Some countries / states have daylight savings time, others do not. The ones that do have it, may vary on the date it changes. Of course, one could find a register of all the timezones and then use many hours programming a system for changing timezones. The obvious and easy part of this, is to gather the timezone of the user. I thought of this idea: 1: The user inputs his local time 2: The php script checks the difference between the users local time and the servers local time 3: The php script stores the differende in a timezone_offset field but.. there is the daylights-saving problem. I dont know how many different daylight saving dates you have, maybe I will try to look into it. I certannly know I will not program towards this, untill I know how to solve the dayligt saving. Maybe I will do a dirty trick with javascript, but I'd rather not have javascript at all, as I'm not very keen on clientside scripting. |
Previous Message | Next Message |
| Comments: | ||
| RE: Is ther something wrong with this method? | Jason | 12/01/05 19:23 |
| cofiguring iis | sujamary | 09/17/05 13:22 |
| I hate timezones.... | Ryan | 02/27/05 05:36 |
| Suneel Kanuri method beats all! | Marius Ooms | 07/30/04 13:24 |
| RE: A better way to go.. | Olav Alexander Mjelde | 07/07/04 05:30 |
| A better way to go.. | Olav Alexander Mjelde | 04/09/04 15:30 |
| RE: Well Done | Olav Alexander Mjelde | 03/18/04 17:58 |
| Correction - I think GMT time storage is ok! | Peter Matuchniak | 02/10/04 00:13 |
| RE: Here is something i did with my timezones | Vinutha | 02/07/04 04:33 |
| Good Article | Roger Rain | 01/11/04 06:56 |
| Here is something i did with my timezones | Suneel Kanuri | 11/25/03 10:53 |
| TimeZone definition in Environment | Nikola Savic | 10/07/03 05:53 |
| It's much easier if you're on *nix... | Jonathan | 09/22/03 16:42 |
| Sometimes it's easier to store both... | Peter Matuchniak, B.Sc (Maths) | 09/12/03 17:32 |
| Well Done | Paul | 09/12/03 10:51 |
|
If you are looking for help, please post on the appropriate forum here. Your questions will be answered much more quickly. | ||


