Skip to main content

Convert order created variable in correct date format

More
6 years 3 months ago - 5 years 10 months ago #320339 by pagemaster
-- 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`t work:

gmdate("d-m-Y", '{order_created:date}')

How is possible?


Thank yoiu for your support


My best regards
Last edit: 5 years 10 months ago by pagemaster.

Please Log in or Create an account to join the conversation.

More
6 years 3 months ago #320348 by Jerome
Hello,

Can you please provide the context ?

Regards,

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

Please Log in or Create an account to join the conversation.

Moderators: Obsidev
Time to create page: 0.141 seconds
Powered by Kunena Forum