Answer the question
In order to leave comments, you need to log in
Laravel 5.7. The wrong time is written to the database (3 hours behind). What's the matter?
Why is the wrong time recorded in the database? For example, not 9:58, but 6:58
What is the easiest and fastest way to make sure that the time is correct in Moscow?
Answer the question
In order to leave comments, you need to log in
For the correct time according to Moscow time, it is necessary to register the time zone in the config:
// config/app.php
// ...
'timezone' => 'Europe/Moscow',
// ...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question