Answer the question
In order to leave comments, you need to log in
How to get the exact time?
At the time of asking the question, the time in Moscow was - 10:40 AM.
app.php :
Controller:'timezone' => 'Europe/Moscow',
dd(date_default_timezone_get(), date('h:i:s', time()));
"Europe/Moscow"
"07:42:13"
Answer the question
In order to leave comments, you need to log in
you need to configure automatic server time update via ntp at the server configuration level:
www.howtogeek.com/tips/how-to-sync-your-linux-serv...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question