get current date laravel
use Carbon\Carbon;
$date = Carbon::now();
get current date laravel
use Carbon\Carbon;
$date = Carbon::now();
indian time laravel
Go to your_project/config/app.php, there is a line:
'timezone' => ''
set it to:
'timezone' => 'Asia/Kolkata'
It will set the default timezone to Asia/Kolkata. After setting this you will
get Indian time.
Here is the list of Supported Timezones
https://www.php.net/manual/en/timezones.php
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us