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

#   Convert order created variable in correct date format

##

- **[pagemaster](/forum/user/50033-pagemaster "View pagemaster's Profile")**
- [![pagemaster's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/50033-pagemaster "View pagemaster's Profile") Topic Author
- [ Offline](/forum/user/50033-pagemaster)

Less More

- Posts: 85
- Thank you received: 9
-
-

6 years 5 months ago -  6 years 2 weeks ago [\#320339](#320339) by [pagemaster](/forum/user/50033-pagemaster "View pagemaster's Profile")  *[Convert order created variable in correct date format](/forum/19-hikamarket/900095-convert-order-created-variable-in-correct-date-format#320339 "-- HikaShop version -- : 4.3.0 -- HikaMarket version -- : 3.1.0 -- Joomla version -- : 3.9.19 -- PHP version -- : 7.2.26  Hello,  how is it possible to convert the variable {order&#95;created:date} in the format date d-m-Y. I tried with this function but doesn&#96;t work:  gmdate(&quot;d-m-Y&quot;, '{order&#95;created:date}')  How is possible?  Thank yoiu for your support  My best regards")* was created by *[pagemaster](/forum/user/50033-pagemaster "View pagemaster's Profile")*

-- HikaShop version -- : 4.3.0
-- HikaMarket version -- : 3.1.0
-- Joomla version -- : 3.9.19
-- PHP version -- : 7.2.26

Hello,

how is it possible to convert the variable **{order\_created:date}** in the format date **d-m-Y**. I tried with this function but doesn&#96;t work:

**gmdate("d-m-Y", '{order\_created:date}')**

How is possible?

Thank yoiu for your support

My best regards

Last edit: 6 years 2 weeks ago by [pagemaster](/forum/user/50033-pagemaster "View pagemaster's Profile").

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

6 years 5 months ago [\#320348](#320348) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Convert order created variable in correct date format](/forum/19-hikamarket/900095-convert-order-created-variable-in-correct-date-format#320348 "-- HikaShop version -- : 4.3.0 -- HikaMarket version -- : 3.1.0 -- Joomla version -- : 3.9.19 -- PHP version -- : 7.2.26  Hello,  how is it possible to convert the variable {order&#95;created:date} in the format date d-m-Y. I tried with this function but doesn&#96;t work:  gmdate(&quot;d-m-Y&quot;, '{order&#95;created:date}')  How is possible?  Thank yoiu for your support  My best regards")*

Hello,

Can you please provide the context ?

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvOTAwMDk1LWNvbnZlcnQtb3JkZXItY3JlYXRlZC12YXJpYWJsZS1pbi1jb3JyZWN0LWRhdGUtZm9ybWF0P3RtcGw9bWFya2Rvd24=) 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?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

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

Time to create page: 0.040 seconds

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