Slick Time Zone Coversions

From: Date: Wed, 20 Jun 2001 22:56:19 +0000
Subject: Slick Time Zone Coversions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-54640@lists.php.net to get a copy of this message
Hey, I wanted to see if anybody has a some ideas or code for a good time zone coversion function. Basically, I would like something where the user can input their timezone (or if php doesn't recognize timezones, maybe just the current time for them, and it can caluculate the difference, but timezones would be preferred). They then enter a time (hh:mm am/pm) which is not local to them, and the function will output a time that has been converted to their timezone. Basically i just want users to be able to take a non-local time and get the local time in their timezone with it. This will be for US times only also. Thanks a bunch!

« previous php.general (#54640) next »