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 »  

Jolly-Martian
Advanced Member

United Kingdom
218 Posts

Pre-sales questions only
(More Details...)

Posted - 12/07/2020 :  08:51:27  
Hi All,

When I update a status and tick to send the customer an email, i get e.g. this message below:

"Your order id 612 from 12/01/2020 14:44 has been updated from Order Received to Printed & awaiting to be picked on 12/04/2020 09:39."

How do I change the date format to D/M/Y? At the moment its M/D/Y

Jason

1818charlie
ECT Moderator

United Kingdom
1194 Posts

Posted - 12/07/2020 :  12:49:23  
Add the following line to includes.php to set dates in the admin to the UK format

$admindateformat=2;

Steve
Egerton Village, Bolton, UK

Edited by - 1818charlie on 12/07/2020 12:50:03

Jolly-Martian
Advanced Member

United Kingdom
218 Posts

Pre-sales questions only
(More Details...)

Posted - 12/22/2020 :  00:06:26  
Thanks Steve

Jason

Jolly-Martian
Advanced Member

United Kingdom
218 Posts

Pre-sales questions only
(More Details...)

Posted - 12/22/2020 :  00:17:45  
Steve,

I just tried this, doesnt seem to work?

$admindateformat=2;

Jason

1818charlie
ECT Moderator

United Kingdom
1194 Posts

Posted - 12/22/2020 :  02:37:45  
Have you done a browser hot refresh Ctrl+F5 because that's the correct setting

Steve
Egerton Village, Bolton, UK

Jolly-Martian
Advanced Member

United Kingdom
218 Posts

Pre-sales questions only
(More Details...)

Posted - 12/23/2020 :  04:44:31  
Still not working

Jason

Vince
Administrator

42766 Posts

Posted - 12/23/2020 :  05:19:48  
It could possibly be the $dateformatstr that you want to change as here...
https://www.ecommercetemplates.com/phphelp/ecommplus/parameters.asp#date

Vince

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

Jolly-Martian
Advanced Member

United Kingdom
218 Posts

Pre-sales questions only
(More Details...)

Posted - 12/27/2020 :  02:12:40  
Hi Vince, Do i put $dateformatstr=2 ?

Thanks

Jason

Phil
ECT Moderator

United Kingdom
7680 Posts

Posted - 12/27/2020 :  02:22:23  
Hi Jason,
You would add $dateformatstr = "d/m/Y";



* Database Migrations and Conversions*
* ASP to PHP Cart Conversions*

*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*
  « 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