When you want to set the default timezone used by all date/time functions, you can take one of below options
Option 1 - by code
You can set the default timezone by following function in the PHP
...
You can get more timezone information at https://www.php.net/manual/en/timezones.php
Option 2 - by php.ini
Below is simple, and no need to add code every time, but may need to be careful when you have any possibility to migrate onto the different systems that does not have the same php.ini settings.
...