Time Zone Settings

Create / Edit  .htaccess file in the public_html folder and Add the following line to set the PHP Timezone to India.

SetEnv TZ Asia/Calcutta

This will change the timezones to IST to Apache and PHP.

Was this answer helpful?

 Print this Article