How to handle timezones

From: Date: Wed, 01 Nov 2000 19:00:26 +0000
Subject: How to handle timezones
Groups: php.general 
Request: Send a blank email to php-general+get-23214@lists.php.net to get a copy of this message
Hi, I have a question about timezones; I'm extracting the time an email has been send from the headers of an email message. At a certain point i've got the hour in a seperate variable and i've got the timezone in a variable. Let's say the hour is 10, and the timezone is -1100. How can i make the code return 23 as a result? I hope someone may already have some code for this. Thanks in advance, Jeroen Geusebroek

« previous php.general (#23214) next »