I am currently planning to run a store in opencart 1.5.2.1 for india ,my hosting is on godaddy so when i create a order it it take server time of godaddy, so how do i change the timezone to india?
i have already tried changing the startup.php file but it still take godaddy server time.
Thank you..
Prashant Gupta
Open system/startup.php and find:
For India change it to this:
Here are the other INDIAN timezones:
http://www.php.net/manual/en/timezones.indian.php
Code: Select all
if (!ini_get('date.timezone')) {
date_default_timezone_set('UTC');
}
Code: Select all
if (!ini_get('date.timezone')) {
date_default_timezone_set('Indian/Antananarivo');
}
Here are the other INDIAN timezones:
http://www.php.net/manual/en/timezones.indian.php
Thanks for your reply...
I found out the solution at
http://forum.opencart.com/viewtopic.php ... t=timezone
And it worked.
I found out the solution at
http://forum.opencart.com/viewtopic.php ... t=timezone
And it worked.
Who is online
Users browsing this forum: Bing [Bot], Majestic-12 [Bot] and 23 guests