swimmer
4 months ago
567
15
Laravel

Get rid of time in a date in blade

Posted 4 months ago by swimmer

I have in my blade template a table that has the following row

  <td>{{$val['created_at']}}</td>

The 'created_at' is a time stamp that give the following result 2020-01-15 06:00:00 I would like to get rid of the time part that it will present the date for example 2020-01-15

How can this be done?

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