How to change the date format in Laravel view page
Try this: date('d-m-Y', strtotime($user->from_date)); It will convert the data into d-m-Y or whatever format you have given. For the above PHP code, you can use Laravel or any ot…
Try this: date('d-m-Y', strtotime($user->from_date)); It will convert the data into d-m-Y or whatever format you have given. For the above PHP code, you can use Laravel or any ot…