How to set the timezone to UTC in .htaccess

October 26, 2018

Use the following code in your .htaccess to change the timezone to UTC. You can also change 'UTC' to another valid time zone'

SetEnv TZ UTC