I put it : Carbon::setLocale('en'); on boot() function and also in config/app is set to: 'timezone' => 'UTC', still give me time 09:47 , in my place is :11:47 ?
@gabrelbuzzi i try it , but the same not shows me the correct time , it is shows time that is forward 2h. But in config/app when i change timezone to be "Europe/Skopje" it is working , but i don't want to work only for Skopje , i want to work depends where user is.
@majacirkova Hmm, got it, but this the set_locale get the timezone from server side, maybe you should try to get the client locale and the in the config/app.
i don't know if this will works, but searching a little bit i found this Server Variable
tl;dr; If you Must do it in your php code, you need the browser to tell you where it is. It's often easier to use UTC time and convert it in the browser with JS.