format date time in now laravel code example Example: get current date laravel use Carbon\Carbon; $date = Carbon::now();