Answer the question
In order to leave comments, you need to log in
How to make such date format in Carbon?
There is a difference between the dates $diff = $dateTime->diff($now);
You need to get the difference of the form: X days Y hours Z minutes.
Answer the question
In order to leave comments, you need to log in
Take a look at the $diff properties, you'll be pleasantly surprised
{{Carbon\Carbon::parse($dateTime->diff($now))->format('d/m/Y')}}
Not?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question