Carbon ustawił teraz strefę czasu
Carbon::now('UTC')
//or
now('UTC')
Tiago F2
Carbon::now('UTC')
//or
now('UTC')
in the AppServiceProvider.php you can add the php functionality to alter the timestamp for the whole project
public function boot()
{
Schema::defaultStringLength(191);
date_default_timezone_set('Asia/Aden');
}
Carbon::now('UTC')