timezone larvel env code example
Example 1: date_default_timezone_set for india in php laravel
Inside config/app.php
replace timezone
'timezone' => 'Asia/Kolkata'
Example 2: laravel timezone
Inside env
add DB config
DB_TIMEZONE=+08:00
Inside config/app.php
replace timezone
'timezone' => 'Asia/Kolkata'
Inside env
add DB config
DB_TIMEZONE=+08:00