Answers for "Carbon add 3 hours"

PHP
0

carbon add few hours

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

Carbon add 3 hours

Carbon\Carbon::now()->addHours(3)->format('Y-m-d H:i:s')
Posted by: Guest on June-21-2021

Browse Popular Code Answers by Language