Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

j_watson's avatar

How do I change my app's timezone from UTC to Europe/Amsterdam?

I tried changing it in my config/app.php file like so 'timezone' => env('APP_TIMEZONE', 'Europe/Amsterdam'), but it's still using UTC time. I even ran php artisan cache:clear but it doesn't seem to do the job.

0 likes
3 replies
tisuchi's avatar

@j_watson Try both of them:

php artisan config:clear
php artisan config:cache

And then first try with the tinker session to confirm that your changes are reflected!

dd(now()->timezoneName); 
tykus's avatar
tykus
Best Answer
Level 104

Is there also an APP_TIMEZONE environment variable set?

# .env
APP_TIMEZONE="Europe/Amsterdam"

Please or to participate in this conversation.