So what is the best way to handle timezones in PHP4. Trust me, I tried to get the admin to switch hosts to get PHP5 but no avail.
I saw this article. But I can't really understand their code. Also, is there a different way instead of brute forcing it? I would like to do it similar to how PHPBB does it.
Working URLs for the above article:
timezones_php4.php
time.php
Timezones in PHP4
Moderator: General Moderators
Re: Timezones in PHP4
you can set also the time zone via .htaccess (just a suggestion)
Re: Timezones in PHP4
Since there seems to be no feasible way to do this, I will probably just have the users enter the current time, and it will calculate the offset automatically. They will just have to change it when it is DST.