i am using Asia/Kolkata timezone , every time it is taking UTC but i want to take time of IST.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
I’m seeing IST in my zonefile:
Another interesting tidbit is that I’m seeing Calcutta there too:
Anglicization, yay!
Can you try putting a info.php file with this code:
Then open the script from your website (ex: http://example.com/info.php) and see what timezone is showing there. I’m suspecting something else is overwriting your timezone. Perhaps in another ini file. Seach for php.ini on the page as that will show you where the default.timezone is being sourced from.