Answers for "laravel Call to a member function diffForHumans() on string"

PHP
2

laravel Call to a member function diffForHumans() on string

// Larvel - call diffForHumans() function on string
$date = $info->created_at;
{{ \Carbon\Carbon::parse($date)->diffForHumans() }}
Posted by: Guest on September-19-2020

Code answers related to "laravel Call to a member function diffForHumans() on string"

Browse Popular Code Answers by Language