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 »  

steven vaccaro
Ecommerce Template Guru

USA
1009 Posts

Posted - 09/11/2020 :  10:21:49  
Server time shows the correct time of 1pm, but the orders admin and event log show 17:00 (5:00 Pm.)

Is there a way to adjust the time in the code?

dbdave
ECT Moderator

USA
10292 Posts

Posted - 09/11/2020 :  11:36:33  
Hi, sure in your included you can set that.

quote:
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
  « 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