• Resolved max1114

    (@max1114)


    How can I change date format of the order?
    I know php but I just can’t find where is it in the code.

    • This topic was modified 4 years, 6 months ago by max1114.
Viewing 1 replies (of 1 total)
  • Plugin Support kenil802

    (@kenil802)

    Hi @max1114,

    In order to add the order completion date, can you please try the below code in print-content.php file which is located at \woocommerce-delivery-notes\templates\print-order\print-content.php and check whether it is working fine or not.

    Code:
    echo date( ‘j-n-Y’, strtotime($order->get_date_completed()));

    Please let us know how it goes.

    Regards,
    Kenil Shah

Viewing 1 replies (of 1 total)
  • The topic ‘Change date format’ is closed to new replies.