In this article we going show how to set timezone in Laravel 7, there are two ways to set time zone in Laravel.

How to set Timezone in Laravel 7
- Open the file app.php located in config directory in your project. Check for Application Timezone where default time zone will be set as,
'timezone' => 'UTC',

Here you can add your time zone as below,
'timezone' => 'Europe/Paris',

2. Second option to manage timezone is from the .env file, add below line in your .env file.
APP_TIMEZONE='Europe/Paris'

then you can add below code in your app.php file.
'timezone' => env('APP_TIMEZONE', 'UTC'),

Note: After changing app.php, make sure you run below command,
php artisan config:clear
Other Articles:
Top 15 useful Keytool commands