Question : get current date laravel
Answered by : charming-capuchin-wi1ykynitimq
use Carbon\Carbon;
$date = Carbon::now();
Source : | Last Update : Mon, 15 Jun 20
Question : show time laravel
Answered by : winwinmaw
$users = User::all()->each(function ($user){ $user->show_time = $user->created_at->format("d/m/y h:m:sa"); });
Source : | Last Update : Mon, 02 May 22
Question : date time laravel
Answered by : handsome-hamerkop-m30inil7v3zf
'phone' => 'required|regex:/(01)[0-9]{9}/'
Source : https://stackoverflow.com/questions/36777840/how-to-validate-phone-number-in-laravel-5-2 | Last Update : Sun, 31 Oct 21