How do I offset the Timezone for my location, instead of the server timezone?
First of all, setting the timezone at .htaccess level using “SetEnv TZ location” doesn’t work on your php script.
If you are using PHP 5.1 and ealier, add this code within your php
putenv(‘TZ=Europe/London’); /* change the TZ value accordingly. */
If you are using PHP 5.1 up, add this code within your php script.
date_default_timezone_set(‘Europe/London’);