How to change timezone in php website


Hello Everyone,

Sometime we need to change timezone in website to apply some condition on time base .

If it is Indian website then we can set time zone to India as per below.

To change time zone for website you need to add two line code in site, it is as below:




By writing above line your website time is as per calcutta time.

Some timezone  as below:

-> Asia/Calcutta





hope  it helps…

Coreway Solution

© 2023, Corewaysolution. All Rights Reserved. Privacy Policy | Refund Policy