skip to Main Content

My store location is Chichester, West Sussex, current local time is 7:30 AM, which is +1h DST,
But my store time is 6:30,
How to solve this?…
I need any of these solutions, from OpenCart dashboard/source code modification,
or
from cPanel

Current Version is 3.0.2.0

2

Answers


  1. Chosen as BEST ANSWER
    date_default_timezone_set('Europe/London')
    

    Worked


  2. Enter the required timezone for the webserver.

    In system/startup.php find below code :

    find :

    if (!ini_get('date.timezone')) {
    date_default_timezone_set('UTC');
    }

    replace :

    if (!ini_get('date.timezone')) {
    date_default_timezone_set('DST');
    }

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search