Carbon get hours from timestamp code example Example: current timestamp carbon Carbon::now()->timestamp