Answers for "carbon just time"

PHP
1

laravel carbon human readable

$comment->created_at->diffForHumans();
Posted by: Guest on May-09-2020
0

carbon add few hours

Carbon::now('UTC')->addHour($hours)->format('Y-m-d H:i:s')
Posted by: Guest on November-10-2020

Browse Popular Code Answers by Language