📜  印度时间 laravel - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:35.588000             🧑  作者: Mango

代码示例1
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