php carbon totring code example
Example 1: carbon now format
use Carbon/Carbon
Carbon::now()->format('Y-m-d H:i:s');
Example 2: carbon now
Carbon::now();
use Carbon/Carbon
Carbon::now()->format('Y-m-d H:i:s');
Carbon::now();