dilfdo
3 years ago
471
1
Laravel

change default date format in laravel Raw sql query

Posted 3 years ago by dilfdo

I want to return date as DD/MM/YYY format in following query. I tries something but didn't work please advice


                ->select('time_sheets.progress',DATE_FORMAT('time_sheets.date', "%d/%l/%Y") ,'role_users.role_id','roles.role_name')
      
                    

Please sign in or create an account to participate in this conversation.