Hello! Arose, as I kadetsa, stupid, but still drove me to a dead end issue. How to work with time zones? Each use on the site may specify in the profile settings preferred time zone. Accordingly I need to display the time given is.
With the conclusion of the time no problems
\Carbon\Carbon::parse($createdAt)->timezone('Europe/Rome')->format('d M, Y H:i');
The question is, that code above correctly worked out how to store date in database? What time zone?
Thanks in advance!