Timezone

How do you change it???

Quote · 31 Oct 2008

If you are unable to set your servers time zone, you can add this to your /inc/headers.inc php file, just be sure it is at the very top of the file (right after the <?):

@date_default_timezone_set ( 'identifier' );

The next step is to replace 'identifier' with your local timezone setting, here is the url for the identifiers:
List of TimeZones allowed by php

Follow through that list until you find yours, then add the code above with your identifier, example:

@date_default_timezone_set('Asia/Bangkok');

Would set the php date functions to Thailand (Asia) time.  Remember, this doesn't effect your servers logs, etc - but anything php uses (dolphin) will output in your correct timezone.

List of Time Zones
http://us3.php.net/manual/en/timezones.php

I hope this helps. Thanks to Topher for this information.

Stuart

There are none so blind as those that will not see.
Quote · 31 Oct 2008
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.