PDA

View Full Version : date_default_timezone_set


CraigR
12-30-2010, 02:28 PM
I used this function for my client, which works well, however my client has changed hosting provider, who is using php version 4.4.9

as a result, an error is being generated when the function is called

CraigR
12-30-2010, 02:49 PM
Update.

The client has the option of using php 4 or 5, so they are now changing to version 5.

Hopefully this should fix things

Jason Byrnes
12-30-2010, 02:50 PM
see this webpage for details on setting the timezone in php 4 vs php 5:
http://www.untwistedvortex.com/2010/05/27/php-local-time-php-server-time/

CraigR
12-30-2010, 03:00 PM
Thanks Jason, I'll check that out too