Answers for "laravel date and time format"

PHP
1

format date laravel timestamp view

date('d-m-Y', strtotime($user->from_date));
/**
or
**/
date_format($user->from_date,'D M Y')
Posted by: Guest on November-03-2020
0

blade format date

{!! htmlspecialchars_decode(date('j<\s\up>S</\s\up> F Y', strtotime('21-05-2020'))) !!}
Posted by: Guest on January-21-2021

Code answers related to "laravel date and time format"

Browse Popular Code Answers by Language