Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2001071

Re: [PHP-DB] Clock struggles From: leo g. divinagracia iii (ldivinag <email protected>)
Date: 07/12/01

are you using the GMT time functions or localtime functions?

gmmtime, gmdate and gmstrftime are all GMT

time, localtime, mktime, strftime use local time...

Taylor \"Cody\" Fletcher wrote:
>
> Im running PHP off of Win2k. The clock on the server is set correctly, but somehow PHP timestamps are adding 7 hours to that. Is there a time zone property that needs to be changed?

-- 
Leo G. Divinagracia III
ldivinag <email protected>

-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>