Answers for "carbon now set time"

PHP
3

current timestamp carbon

Carbon::now()->timestamp
Posted by: Guest on April-01-2020
0

carbon now

Carbon::now();
Posted by: Guest on February-02-2021
-1

Carbon fomart date

use Carbon/Carbon
Carbon::now()->format('Y-m-d H:i:s jS F Y'); // 2021-06-21 19:24:37 21st June 2021
Posted by: Guest on June-21-2021

Browse Popular Code Answers by Language