Title: Date issue upon export
Last modified: September 7, 2020

---

# Date issue upon export

 *  Resolved [buci](https://wordpress.org/support/users/buci/)
 * (@buci)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/date-issue-upon-export/)
 * Hi,
 * I think this plugin has been overlooked. It’s great because it’s simple but I
   have an issue when I try to export a field with date.
 * It will give me something like :
    MM/DD/YYYY
 * However, the date that were saved on the profiles were something like this :
   
   DD/MM/YYYY
 * As a result, upon export, every date that is not compatible (MM is above 12 for
   instance), will be changed to today’s date. This make it quite impractical.
 * Is there a way to fix this?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [shawfactor](https://wordpress.org/support/users/shawfactor/)
 * (@shawfactor)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/date-issue-upon-export/#post-13374315)
 * this cannot be an issue with my plugin. I say this as my plugin just uses the
   standard xprofile_get_field function.
 * Obviously I cannot write code to handle every possible way other plugins save
   and retrieve data in the database. However if you need to work around this and
   can code you could utilise the ‘export_humans_profile_field_value’ filter on 
   line 185 to masage how the data is exported.
 *  Thread Starter [buci](https://wordpress.org/support/users/buci/)
 * (@buci)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/date-issue-upon-export/#post-13374528)
 * Hi shawfactor
 * Thank you for your reactivity.
    So I played a bit with the xprofile field and
   found out a solution.
 * I changed the date format to “y-m-d” and the plugin worked as intended.
 * The date format “d/m/y” does not work though.
    -  This reply was modified 5 years, 9 months ago by [buci](https://wordpress.org/support/users/buci/).
 *  Plugin Author [shawfactor](https://wordpress.org/support/users/shawfactor/)
 * (@shawfactor)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/date-issue-upon-export/#post-13374684)
 * okay sounds good I´ll resolve this thread then, although I will till monitor 
   it if you have any issues. If you like the plugin, please consider leaving a 
   review.
 * pete

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Date issue upon export’ is closed to new replies.

 * ![](https://ps.w.org/lh-buddypress-export-xprofile-data/assets/icon-256x256.png?
   rev=2081109)
 * [LH Buddypress Export Xprofile Data](https://wordpress.org/plugins/lh-buddypress-export-xprofile-data/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/lh-buddypress-export-xprofile-data/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/lh-buddypress-export-xprofile-data/)
 * [Active Topics](https://wordpress.org/support/plugin/lh-buddypress-export-xprofile-data/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/lh-buddypress-export-xprofile-data/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/lh-buddypress-export-xprofile-data/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [shawfactor](https://wordpress.org/support/users/shawfactor/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/date-issue-upon-export/#post-13374684)
 * Status: resolved