\Carbon\Carbon::now() timestamp code example Example: php carbon get timestamp Carbon::now()->timestamp