Title: Timezone export articles
Last modified: April 9, 2019

---

# Timezone export articles

 *  Resolved [Luis Santos – CA Notícias](https://wordpress.org/support/users/lecas81/)
 * (@lecas81)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/timezone-export-articles/)
 * Hello, when exporting articles the date is changed to the time zone of the server,
   being ignored the time zone that we have set in the installation of wordpress
   Europe/Lisbon.
 * How can we put this correctly?

Viewing 1 replies (of 1 total)

 *  Plugin Author [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * (@wpallimport)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/timezone-export-articles/#post-11418418)
 * Hi [@lecas81](https://wordpress.org/support/users/lecas81/)
 * WP All Export pulls the date from the “post_date_gmt” column in the database.
   If you want to pull from the regular “post_date” column, you can use a simple
   PHP function on the Post ID element: [http://www.wpallimport.com/tour/export-developer-friendly/](http://www.wpallimport.com/tour/export-developer-friendly/).
 * Example function:
 *     ```
       function my_get_date( $id ) {
       	if ( $order_post = get_post( $id ) ) {
       		return $order_post->post_date;
       	}
       }
       ```
   
 * Example screenshot (this is in a WooCommerce Orders export): [https://d.pr/i/7B9txC](https://d.pr/i/7B9txC).

Viewing 1 replies (of 1 total)

The topic ‘Timezone export articles’ is closed to new replies.

 * ![](https://ps.w.org/wp-all-export/assets/icon-256x256.png?rev=2570162)
 * [WP All Export – Drag & Drop Export to Any Custom CSV, XML & Excel](https://wordpress.org/plugins/wp-all-export/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-all-export/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-all-export/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-all-export/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-all-export/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-all-export/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/timezone-export-articles/#post-11418418)
 * Status: resolved