Change the order date format in Order CSV Export

Do you need to export your orders into a CSV? Maybe even automatically?
Well, WooCommerce Order/Customer CSV Export is what you need.

The plugin documentation already has an extensive developers documentation which teach you how to change the file name, reorder columns, adding columns, and much more.

Here instead is an additional snippet to change the date format.
By default the plugin exports the date in the format Y-m-d H:i:s. What if you want to change it?

Write a snippet!

Open the file functions.php located in wp-content/themes/your-theme-name/ and add this code at the end of the file:

This code will change the date format to d/m/Y. You can use any other format, here you can find the formatting options.

More Posts That You Might Like…

3 responses to “Change the order date format in Order CSV Export”

  1. Would you be able to show how to combine the Billing First Name and Billing Last Name into a single field called “Billing Name”?

    1. Hi Jon,
      You can find many snippet examples here. You can start there to get an idea about how to change existing columns by renaming them.

      From that, you should unset the first and last name columns and add a new column for the Billing Name.

  2. Hi Nicola,

    it doesnt work with newest versions. Do you test it again?


Leave a Reply



Receive new articles from this blog directly in your inbox!

No spam guaranteed!

Blog at

%d bloggers like this: