Level 28
You can cast the date: https://laracasts.com/series/whats-new-in-laravel-5-6/episodes/4
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
If I have a query to fetch a model like so:
model = $model::where('user_id', Auth::id());
Is it possible to change the format if specific columns that represent date?
Please or to participate in this conversation.