carbon specify which format to parse code example Example: php carbon get timestamp Carbon::now()->timestamp