Skip to the content.

Date

The date field can be used to format a date string

Go back to fields

Format

To change the format of a date string

Date::make('created_at')->format('d-m-Y H:i:s');

//31-01-2019 15:00:00