how to get date of timestamp in laravel controller code example Example: current timestamp carbon Carbon::now()->timestamp