• Resolved mrrosan

    (@mrrosan)


    Hello, I am making a template to print orders directly and automatically. I want a get-methode to get ordered time and date. Is it possible?
    Here is an example to show current date. I need something like get_order_date(). ??

    <?= Document::symbolsAlign(__(‘Time Ordered’, ‘WooCommerce’), date_i18n(\get_option(‘time_format’, ‘H:i’), $order->get_date_created())); ?>

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘get order time and date’ is closed to new replies.