time() in laravel
snippet in php

time() in laravel

user2820

use Carbon\Carbon;
$date = Carbon::now();