Use Carbon's setTimezone() and shiftTimezone() methods

Use Carbon's setTimezone() and shiftTimezone() methods

Over the past few years, I've worked on some large apps that deal with events in different timezones. This can end up being quite confusing, as best practice is always to store dates in UTC.

That's where Carbon's shiftTimezone() and setTimezone() methods can help you out! ⬇️

We're writing a book, you can get it for free here.