Support » Plugin: WooCommerce » Change order date in admin.

  • On the ‘edit order’ page, how can I change the order date format (to M j, Y which is my WP default)?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Rynald0s


    Automattic Happiness Engineer

    Hi there!

    You can use the woocommerce_admin_order_date_format filter, like so:

    add_filter('woocommerce_admin_order_date_format', 'custom_post_date_column_time');
    function custom_post_date_column_time($post) {
    $h_time = get_post_time( __( 'Y/d/m', 'woocommerce' ), $post );
        return $h_time;

    Just remember to change Y/d/m to what you need it to show.


    @rynald0s… thanks.

    Before originally posting I’d tried such a filter.

    Although it works on the page (Screen ID = edit-shop_order) which lists orders, it doesn’t change the ‘General Details=>Order date:’ field on the ‘edit order’ page (Screen ID = shop_order) for individual orders.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change order date in admin.’ is closed to new replies.