[Skip to main content](#vessel-content)

#   Order / Invoice date the wrong way around.

##

- **[srtdesigns](/forum/user/55639-srtdesigns "View srtdesigns's Profile")**
- [![srtdesigns's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar55639.png)](/forum/user/55639-srtdesigns "View srtdesigns's Profile") Topic Author
- [ Offline](/forum/user/55639-srtdesigns)

Less More

- Posts: 70
- Thank you received: 4
-
-

6 years 3 months ago [\#323232](#323232) by [srtdesigns](/forum/user/55639-srtdesigns "View srtdesigns's Profile")  *[Order / Invoice date the wrong way around.](/forum/33-customers/900649-order-invoice-date-the-wrong-way-around#323232 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.20 -- PHP version -- : 7.3.21 -- Browser(s) name and version -- : various  Hi, On the customer Order and Invoice available from the Control Panel shows the date in the wrong order. e.g. 2020.08.20 when it should be 20.08.2020 (UK). I am no PHP coding expert but I did check the order.php file. Extract below: invoice&#95;type == 'order' || empty($this-&gt;element-&gt;order&#95;invoice&#95;created)) { echo JText::&#95;('DATE').': '.hikashop&#95;getDate($this-&gt;element-&gt;order&#95;created, '%d %B %Y'); } else { echo JText::&#95;('DATE').': '.hikashop&#95;getDate($this-&gt;element-&gt;order&#95;invoice&#95;created, '%d %B %Y'); } ?&gt; It seems to be correct. Can you please advise me what needs to be done to resolve the display. Many thanks.")* was created by *[srtdesigns](/forum/user/55639-srtdesigns "View srtdesigns's Profile")*

-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.20
-- PHP version -- : 7.3.21
-- Browser(s) name and version -- : various

Hi, On the customer Order and Invoice available from the Control Panel shows the date in the wrong order. e.g. 2020.08.20 when it should be 20.08.2020 (UK). I am no PHP coding expert but I did check the order.php file. Extract below:
&lt;?php
if($this-&gt;invoice_type == 'order' &#124;&#124; empty($this-&gt;element-&gt;order_invoice_created)) {
echo JText::_('DATE').': '.hikashop_getDate($this-&gt;element-&gt;order_created, '%d %B %Y');
} else {
echo JText::_('DATE').': '.hikashop_getDate($this-&gt;element-&gt;order_invoice_created, '%d %B %Y');
}
?&gt;
It seems to be correct. Can you please advise me what needs to be done to resolve the display. Many thanks.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy85MDA2NDktb3JkZXItaW52b2ljZS1kYXRlLXRoZS13cm9uZy13YXktYXJvdW5kP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[srtdesigns](/forum/user/55639-srtdesigns "View srtdesigns's Profile")**
- [![srtdesigns's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar55639.png)](/forum/user/55639-srtdesigns "View srtdesigns's Profile") Topic Author
- [ Offline](/forum/user/55639-srtdesigns)

Less More

- Posts: 70
- Thank you received: 4
-
-

6 years 3 months ago [\#323235](#323235) by [srtdesigns](/forum/user/55639-srtdesigns "View srtdesigns's Profile")  Replied by *[srtdesigns](/forum/user/55639-srtdesigns "View srtdesigns's Profile")* on topic *[Order / Invoice date the wrong way around.](/forum/33-customers/900649-order-invoice-date-the-wrong-way-around#323235 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.20 -- PHP version -- : 7.3.21 -- Browser(s) name and version -- : various  Hi, On the customer Order and Invoice available from the Control Panel shows the date in the wrong order. e.g. 2020.08.20 when it should be 20.08.2020 (UK). I am no PHP coding expert but I did check the order.php file. Extract below: invoice&#95;type == 'order' || empty($this-&gt;element-&gt;order&#95;invoice&#95;created)) { echo JText::&#95;('DATE').': '.hikashop&#95;getDate($this-&gt;element-&gt;order&#95;created, '%d %B %Y'); } else { echo JText::&#95;('DATE').': '.hikashop&#95;getDate($this-&gt;element-&gt;order&#95;invoice&#95;created, '%d %B %Y'); } ?&gt; It seems to be correct. Can you please advise me what needs to be done to resolve the display. Many thanks.")*

I managed to find an old post so have now fixed the issue - thanks.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy85MDA2NDktb3JkZXItaW52b2ljZS1kYXRlLXRoZS13cm9uZy13YXktYXJvdW5kP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.049 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
