Laravel order by date not working

Sometimes you have to get data in order by date in laravel. There could be any issue in query while getting records in order from the table that's why laravel order by date not working in your case. Try below code snippet

Answers 1