1) Log into cPanel.
2) Look for the SOFTWARE section and click on Select PHP version
cPanel > Software > Select PHP Version
3) In the new window click on the Switch To PHP Options button.
Select PHP Version > Switch to PHP Options
4) Here you can locate the date.timezone and type in the value that you require.
5) Once you commit any change, please left-click anywhere outside the dropdown or text input box. If the change was successful, you will see a green box with a message which will confirm that the change has been applied.
That’s all! Now you know how to change the date.timezone in cPanel.