on shell, my server time is (simple date in bash): Sun Aug 29 10:37:12 EDT 2010
date
when I run the code php -r \"echo date(\'Y-m-d H:i:s\');\"
php -r \"echo date(\'Y-m-d H:i:s\');\"
Late for the party, but if you want to set the timezone without edit php.ini, you can put in the php code one of these strings:
date_default_timezone_set('GMT'); date_default_timezone_set('Europe/Zurich'); date_default_timezone_set('America/New_York');