You can change the timezone for your account or for a specific folder by adding this rule to your .htaccess file:
+++
SetEnv TZ Timezone
+++++
For example, if you wish to change the timezone to Asia/Singapore, you should add this line to your .htaccess file:
+++
SetEnv TZ Asia/Singapore
+++
This way your scripts will use your local time instead of the server time.