Convert order created variable in correct date format

  • Posts: 85
  • Thank you received: 9
3 years 10 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: 3 years 5 months ago by pagemaster.

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

  • Posts: 26007
  • Thank you received: 4004
  • MODERATOR
3 years 10 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.056 seconds
Powered by Kunena Forum