As far as I know time() function returns the Unix timestamp which is GMT
measured; althought date() function does the GMT convertion to the local
timezone. You can store the result of time and then, modify the TZ
environment var to matchs user timezone.

Manu.

"Hassan Shaikh" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hi,

My hosting provider is located somewhere in Houston, TX (EV1). I am using
PHP and MySQL and need to store all dates/time in GMT (considering DST
also). Appreciate any help!

Once the date/time is in GMT, it would be easier for me to display the date
base on user preference (time zone difference).

Thanks.


Hassan

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to