Probably the way it's being formatted. Are you using the $dates mutator to cast it to a Carbon instance?
https://laravel.com/docs/master/eloquent-mutators#date-mutators
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I'm trying to set the value attribute of a date input to the current value in the database, but nothing shows up there. I can do the time field just fine. But the date field on the form shows the placeholder, 'mm/dd/yyyy,' instead of the date value I send it. I've even tried a manual entry of a date, but the form field is still blank! I have a date in the record, and I'm trying to allow the user to change it, but I can't populate the form with the current date.
What's the secret?! :D
Please or to participate in this conversation.