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

FireBlade's avatar

Laravel app timezone

This recommendation is not clear:

You are strongly encouraged to always use this serialization format, as well as to store your application's dates inthe UTC timezone by not changing your application's timezone configuration option from its default UTC value. Consistently using the UTC timezone throughout your application will provide the maximum level of interoperability with other date manipulation libraries written in PHP and JavaScript.

How do i display transactions in local times ?

0 likes
1 reply
Snapey's avatar
Snapey
Best Answer
Level 122

by applying the timezone at the point of display, not at the point of storage.

Granted, the benefit is really only obtained when you have users in different timezones, but its a better strategy to start out with.

1 like

Please or to participate in this conversation.