Title: syncing register date
Last modified: August 30, 2016

---

# syncing register date

 *  Resolved [gatta2](https://wordpress.org/support/users/gatta2/)
 * (@gatta2)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/syncing-register-date/)
 * I’m trying to sync the user’s register date using the following but it doesn’t
   seem to work.
 * add_filter( ‘mailchimp_sync_user_data’, function( $data, $user ) {
 * $udata = get_userdata( $user->ID );
    $registered = $udata->user_registered;
 * $data[‘MMERGE19’] = date(“d/m/Y”, strtotime( $registered ));
    return $data; },
   10, 2 );
 * [https://wordpress.org/plugins/mailchimp-sync/](https://wordpress.org/plugins/mailchimp-sync/)

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

 *  Thread Starter [gatta2](https://wordpress.org/support/users/gatta2/)
 * (@gatta2)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/syncing-register-date/#post-6716738)
 * FYI I’m trying to sync to a date field in Mailchimp with format DD/MM/YYYY.
 *  Thread Starter [gatta2](https://wordpress.org/support/users/gatta2/)
 * (@gatta2)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/syncing-register-date/#post-6716801)
 * Solved, date has to be in Y-m-d format.
 * $data[‘MMERGE19’] = date(“Y-m-d”, strtotime( $registered ));

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

The topic ‘syncing register date’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/mailchimp-sync_cfeefa.svg)
 * [MC4WP: Mailchimp User Sync](https://wordpress.org/plugins/mailchimp-sync/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mailchimp-sync/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mailchimp-sync/)
 * [Active Topics](https://wordpress.org/support/plugin/mailchimp-sync/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mailchimp-sync/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mailchimp-sync/reviews/)

 * 2 replies
 * 1 participant
 * Last reply from: [gatta2](https://wordpress.org/support/users/gatta2/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/syncing-register-date/#post-6716801)
 * Status: resolved