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
Forum Search
Google Site Search
Author « Topic »  

tgorski
Ecommerce Template Expert

USA
926 Posts

Posted - 10/01/2025 :  15:39:09  
We have a client who has received orders that are 3 to 4 hours in the FUTURE?!
What would cause that and how to fix it?

Tim Gorski

dbdave
ECT Moderator

USA
10563 Posts

Posted - 10/01/2025 :  16:01:11  
Hi Tim, the cart will pickup the server time unless you override that with a setting in the includes file.
If it changed recently, then perhaps the time on the server was changed.
I believe the time is no longer shown to customer - it shows on the back end only.
If you want the change it, it's easy - see below.

Adjust date

$dateadjust=3;

...would adjust the date the order status was updated by 3 hours.

$dateadjust=-4;

...would adjust it by minus 4 hours. This is so that if your server time is not the same as your local time then you can adjust for this.

$dateformatstr="d/m/Y";

...would show the European date format of day / month / year for packing slips

$dateformatstr="dS F Y";

..would show the date in the format for example 25th May 2004 20:17

Admin date
To set dates in your admin section to US style format (for instance mm/dd/yyyy), set the following
$admindateformat=1;

To set dates in your admin section to UK style format (for instance dd/mm/yyyy), set the following
$admindateformat=2;



Thanks,
David

Edited by - dbdave on 10/01/2025 16:01:33
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000