Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Author « Topic »  

LadyM
ECT Moderator

1690 Posts

Posted - 03/07/2022 :  07:05:04  
Even though I have this in my includes file, the server time is not adjusting. Yesterday an order came in at 7:39 pm EST, but it didn't show in orders because it was listed as :39 on the next day. How can I adjust it? Is there any other way?

$GLOBALS['admindateformat']=1;
$GLOBALS['dateadjust']=-5;

Vince
Administrator

42460 Posts

Posted - 03/07/2022 :  07:16:28  
Hi LadyM
This parameter won't affect orders that you have already taken, just future orders. Could this be the issue here?

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

LadyM
ECT Moderator

1690 Posts

Posted - 03/07/2022 :  07:19:11  
I've had that code in since the beginning so it has affected all orders. The server time is not adjusting.

Sinbad
ECT Moderator

USA
65936 Posts

Posted - 03/07/2022 :  12:29:51  
Hi LadyM, can you try using this in the vsadmin includes I don't think you need to wrap that in globals

date_default_timezone_set('UTC');

Another WP user https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=108738

Winners never quit, quitters never win
CSS and Responsive Designs
User Manual for Ecommerce Templates

dhagood100
New Member

USA
59 Posts

Posted - 04/13/2022 :  08:15:36  
Can you use this to set different timezone other than UTC?

Central for example?

David Hagood

Vince
Administrator

42460 Posts

Posted - 04/13/2022 :  09:16:35  

Vince
Administrator

42460 Posts

Posted - 04/13/2022 :  09:16:39  
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000