Post by ugohalu » Thu Dec 22, 2011 11:35 am

I wonder how can I change or modify the date of orders? it shows wrong date with actual calenders date, I have checked Geo zone and country at settings.

Newbie

Posts

Joined
Thu Dec 22, 2011 11:27 am

Post by fido-x » Thu Dec 22, 2011 11:48 am

The order date entered into the database with the order is based on the server's timezone (generally UTC) or the timezone set in the php.ini file (on the server), which may not be the same as yours.

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by ugohalu » Thu Dec 22, 2011 12:09 pm

I have hosting server in USA still one day before, so opencart ordered date is depend on where the server hosted?
it should be modify to be where the site is operating? any way to solve the date?

Newbie

Posts

Joined
Thu Dec 22, 2011 11:27 am

Post by Saile » Mon Jan 07, 2013 7:03 am

any fix for this ?

Active Member

Posts

Joined
Thu Jan 19, 2012 8:19 am

Post by zara0 » Wed Mar 27, 2013 9:54 am

Try re-setting the server time in the php.ini file or .htaccess file

Newbie

Posts

Joined
Sun Mar 24, 2013 9:04 am

Post by butte » Wed Mar 27, 2013 10:46 am

(1) The timestamps in the database can be edited. Be absolutely certain to have FIRST not merely a backup but ALSO a safety copy of the backup you might edit.

(2) In php.ini you can insert your own timezone; if you can get at php.ini. In certain Apache files you can set timezones; if you can get at them.

(3) Your hosting control panel should allow you to insert your own timezone.

(4) Beware daylight time, notwithstanding that daylight time is itself a con game. On a computer, whatever happens between standard and daylight in springing ahead and between daylight and standard in falling back stands to interfere mightily with timestamp sequencing (your being audited, explain it), with file overwrites (you're about to overwrite, but is the newer one actually the new one, and has a public server automatically overwriting all manner of files actually been made aware of that question?!), and so forth. Set gmt + or - n, which runs 0 to 12 but occasionally to 24 (for practical purposes gmt = utc = zulu; atomic time and military tactics are not a consideration in server settings).

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by deunus » Wed Nov 02, 2016 3:00 pm

My hosting server says try to contact your website developer. I don't have developer and I don't know about the developing. Where to do the editing in codes.

Newbie

Posts

Joined
Wed Aug 10, 2016 11:42 am

Post by IP_CAM » Wed Nov 02, 2016 7:34 pm

Find some solutions on this here:
https://www.opencart.com/index.php?rout ... h=timezone

But, just to remember, if one has zero experience on such, just better don't ignore the fact, that OC is not really
an 'all included for free' Social Media Product, but a commercial Moneymaker Software, for everyone involved. ;)
It's like getting a Car for free, and a spare set of winter tire wheels. So, one possibly still has to get a pro assistance,
to change 'em, if one is not able to do it.

So, never be frustrated, if, in case, you will ever need further assistance with OC, once in a while, and possibly on-one replies... 8), especially, if you don't even mention the OC Version, you use... :-\
Good Luck, nothing personal, just plain information!
Ernie

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: Majestic-12 [Bot] and 68 guests