Convert order created variable in correct date format

  • Posts: 85
  • Thank you received: 9
4 years 5 months ago #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_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: 4 years 2 weeks ago by pagemaster.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
4 years 5 months ago #320348

Hello,

Can you please provide the context ?

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

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