laravel date set timezone
edit /config/app.php
'timezone' => 'Asia/Dhaka'
laravel date set timezone
edit /config/app.php
'timezone' => 'Asia/Dhaka'
carbon change date timezone to utc
Carbon::createFromFormat('Y-m-d H:i:s', $some_date, 'UTC')
->setTimezone('America/Los_Angeles')
// First, you set the timezone you initially have,
// so if you store your date in the database as UTC,
// then set the default timezone to UTC,
// then use ->setTimeZone('Valid/Timezone')
// to make the change from what you'v had to the new timezone.
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