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

jrreda's avatar
Level 6

Update timezone during Local Time Daylight Savings (DST)

in my Laravel project .env: APP_TIMEZONE=Africa/Cairo (+2 GMT) but after Egypt increased the time by one hour (summer time/DST) the date in my system is still +2 GMT not +3 GMT. how to fix that?

0 likes
2 replies
Snapey's avatar

To avoid issues with time, you should operate your server in UTC and then adjust the time when it is displayed according to the user's timezone.

sharkblue58's avatar

@Snapey in app.php i make it 'timezone' => 'UTC', and also not worked i faced this problem in pusher and error is local.ERROR: Pusher error: Timestamp expired: Given timestamp (2025-09-01T18:20:41Z) not within 600s of server time (2025-09-01T17:20:45Z)

Please or to participate in this conversation.