0

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

Wenfang Du
  • 8,804
  • 9
  • 59
  • 90
Amin
  • 681
  • 4
  • 9
  • 27

2 Answers2

0

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'); }

Radhika
  • 533
  • 5
  • 22
0
date_default_timezone_set('Europe/London')

Worked

Amin
  • 681
  • 4
  • 9
  • 27