Timezone Confussion -> convert_to_gmt -> daylight saving zones / Am I right ? Or wrong |
[eluser]brototyp[/eluser]
I was running out of characters, so I had to do a new post. Now to my DST problem. It's confusing me. In my code I din't worry about any DST. I added an event with the current UM5 time. The date was displayed correctly in UP1 in my current time. When I use the DST option in my controller when I convert my date to GMT time Code: $gmt_conversion = convert_to_gmt($xy_unix, $event_timezone, TRUE); Code: $date_timezone = gmt_to_local($date_unix, $timezone, True); I insert the current UM5 time then the UP1 is 1 hour later the it should be. Here is a link to a website where you get the current times of different timezones. In both timezones there is DST at the moment --> Daylight saving time: +1 hour although I didn't use DST it worked. ??? I mean I understand that the difference (6 hours) between both timezones is correct, because both timezones got DST at the moment. I ask myself what would happen if the DST changes in one timezone. (I think UM5 changes two or three weeks earlier then UP1) Would my result be the same when somebody would add an event in this gap ??? Maybe I get anything wrong with setting the DST time option ..... I don't know. I'm confused Greetings brototyp |
Messages In This Thread |
Timezone Confussion -> convert_to_gmt -> daylight saving zones / Am I right ? Or wrong - by El Forum - 06-16-2009, 11:58 AM
Timezone Confussion -> convert_to_gmt -> daylight saving zones / Am I right ? Or wrong - by El Forum - 06-16-2009, 04:27 PM
Timezone Confussion -> convert_to_gmt -> daylight saving zones / Am I right ? Or wrong - by El Forum - 06-17-2009, 11:30 AM
Timezone Confussion -> convert_to_gmt -> daylight saving zones / Am I right ? Or wrong - by El Forum - 06-17-2009, 01:27 PM
Timezone Confussion -> convert_to_gmt -> daylight saving zones / Am I right ? Or wrong - by El Forum - 06-17-2009, 02:59 PM
Timezone Confussion -> convert_to_gmt -> daylight saving zones / Am I right ? Or wrong - by El Forum - 06-27-2009, 02:55 PM
|