Problem with TimeZones / DayLight Saving
Posted: Thu Feb 17, 2005 2:40 am
Hello & difficult Question here !
I want to show on page two Timezones -> Germany and Brazil (Sao Paulo). Since im living in Germany its no probelm to show the German Time and DayLight Saving.
I just check if its DayLight Saving Time and adjust the time. Problem is - if Brazil changes also to Daylight Saving Time its not correct anymore !
Question 1: How would you solve this problem? Check for the current date and adjust the time?
Question 2: Is there a function already which answer my problem? Maybe a function where i just state which TimeZone i want ?
Im working with PHP5 - Apache 2 on a WINDOWS Machine !!
Thank you for answers !!!
Wesker
I want to show on page two Timezones -> Germany and Brazil (Sao Paulo). Since im living in Germany its no probelm to show the German Time and DayLight Saving.
I just check if its DayLight Saving Time and adjust the time. Problem is - if Brazil changes also to Daylight Saving Time its not correct anymore !
Question 1: How would you solve this problem? Check for the current date and adjust the time?
Question 2: Is there a function already which answer my problem? Maybe a function where i just state which TimeZone i want ?
Im working with PHP5 - Apache 2 on a WINDOWS Machine !!
Thank you for answers !!!
Wesker