javineo
3080
5
Laravel

Date format in the view. Laravel 5.5

Posted 1 year ago by javineo

I need to show the date extracted from a database from a model in a controller and sent to the view. The format that is given to me is the following: "2018-02-02 00: 00: 00.000". And I need it to look like this: "02/02/2018". I do not want to use hard code in the view.

Total Thanks!

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