Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

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
 
PREVIOUS NEXT
Tagged: #indian #time #laravel
ADD COMMENT
Topic
Name
3+6 =