Title: Export/Import date missing
Last modified: July 20, 2023

---

# Export/Import date missing

 *  Resolved [prsmwpaccount](https://wordpress.org/support/users/prsmwpaccount/)
 * (@prsmwpaccount)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/export-import-date-missing/)
 * I want to export the participants database and import it to my new website. 
   
   When re-importing, every data are OK except the Date Recorded which is fixed 
   to the today’s date. However CSV option is thicked in the Recorded Date field
   settings.

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

 *  Plugin Author [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/export-import-date-missing/#post-16910616)
 * Normally, the “date_recorded” field will use the current date/time if the CSV
   import is creating new records.
 * However, you’re right it should be possible to import this value. First, you 
   must have the “Allow Record Timestamps to be Edited” setting checked. This is
   in the plugin settings under the advanced tab.
 * However, there is a bug that prevents this from working for CSV imports. I will
   explain how you can edit the plugin so it will work. The next release of Participants
   Database will fix this.
 * In the file classes/PDb_submission/main_query/internal_column.php on line 63,
   you’ll see:
 * `$this->value = $initialvalue;`
 * Add a line after that so you end up with:
 * `$this->value = $initialvalue;
   $this->skip = false;
 * Now you will be able to import your record timestamps.
 *  Thread Starter [prsmwpaccount](https://wordpress.org/support/users/prsmwpaccount/)
 * (@prsmwpaccount)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/export-import-date-missing/#post-16912841)
 * Hi , this patch is working fine ! thanks for your great support 😉

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

The topic ‘Export/Import date missing’ is closed to new replies.

 * ![](https://ps.w.org/participants-database/assets/icon-256x256.jpg?rev=1389807)
 * [Participants Database](https://wordpress.org/plugins/participants-database/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/participants-database/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/participants-database/)
 * [Active Topics](https://wordpress.org/support/plugin/participants-database/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/participants-database/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/participants-database/reviews/)

## Tags

 * [date](https://wordpress.org/support/topic-tag/date/)
 * [export](https://wordpress.org/support/topic-tag/export/)
 * [Import](https://wordpress.org/support/topic-tag/import/)

 * 2 replies
 * 2 participants
 * Last reply from: [prsmwpaccount](https://wordpress.org/support/users/prsmwpaccount/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/export-import-date-missing/#post-16912841)
 * Status: resolved