Well, sometimes the server is not at the same location as your country/website. And this causes issues with the time recorded for details related to the customers, orders, etc in the Database.
So how do we set up same time for the server as the website country in Opencart ?
You must login into your server via cPanel / plesk / Filezilla or Ssh.
Go to the below path:
Opencart root folder/system/config/default.php
Here find the line:
$_[‘date_timezone’] = ‘UTC’;
You can replace your timezone instead of UTC.
You can find the list of all timezones in PHP here: