Published On Mar. 30th 2018

What's New in Laravel 5.6: Eloquent Date Casting

Episode 4 Run Time 2:55


When casting Eloquent attributes, you can now easily declare the format for your date columns. Maybe a particular date field, when converted to JSON, should be rendered as "January 1st" or "1/1/18". No problem.