adjusting time() to correct for time zones
| From: | John Hughes | Date: | Fri, 24 May 2002 18:56:28 +0000 |
| Subject: | adjusting time() to correct for time zones | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-99130@lists.php.net to get a copy of this message | ||
My server is located on the East Coast, but all of the users of my
site live on the West Coast. I have an application that makes several
calls to time() and as a result all of the times displayed are East
Coast.
Rather than changing every time() to time()-10800, I was wondering if
there is a way to make one global change, perhaps with .htacess.
Since this site is hosted on a commercial service I do not have
access to the PHP.ini or other server-level files.
TIA
John Hughes
__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com