Title: Registration Date Format
Last modified: August 20, 2016

---

# Registration Date Format

 *  Resolved [jasnon](https://wordpress.org/support/users/jasnon/)
 * (@jasnon)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/registration-date-format/)
 * Hi,
 * Great plugin! Is there a way to change the output format of a member’s registration
   date from the default of 2013-02-18 11:43:28 for example. I’m hoping to get the
   date in “F j, Y” format in order to display as February 18, 2013.
 * Thanks!
 * [http://wordpress.org/extend/plugins/members-list/](http://wordpress.org/extend/plugins/members-list/)

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

 *  Plugin Author [ternstyle](https://wordpress.org/support/users/mpraetzel/)
 * (@mpraetzel)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/registration-date-format/#post-3489213)
 * Not without customizing the plugin.
 *  Thread Starter [jasnon](https://wordpress.org/support/users/jasnon/)
 * (@jasnon)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/registration-date-format/#post-3489214)
 * Would that be difficult to do? Even though it’s a pretty minor change I’m really
   hoping to be able to do this. Could you point me in the right direction of code
   that would need to be modified?
 * Thanks again for the help,
    Jon
 *  Plugin Author [ternstyle](https://wordpress.org/support/users/mpraetzel/)
 * (@mpraetzel)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/registration-date-format/#post-3489215)
 * You’d be looking at the markup function on line 421 of the file /class/members.
   php.
 *  Thread Starter [jasnon](https://wordpress.org/support/users/jasnon/)
 * (@jasnon)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/registration-date-format/#post-3489220)
 * This is the code for the markup function on line 421:
 * $o = $this->wp->getOption(‘tern_wp_members’,$tern_wp_members_defaults);
 * I’m not exactly sure what to modify in this since it looks like it’s referring
   to other variables.
 * Thanks.
 *  Plugin Author [ternstyle](https://wordpress.org/support/users/mpraetzel/)
 * (@mpraetzel)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/registration-date-format/#post-3489221)
 * My fault. The function itself begins on line 419. What you need to do is add 
   another “elseif” statement checking for the date and rendering it according to
   your specifications.
 * like this code:
 *     ```
       elseif($v['name'] == 'user_email') {
       				$s .= "\n        <a href='mailto:".$u->$v['name']."'>".str_replace('%value%',$u->$v['name'],$v['markup']).'</a>';
       				continue;
       			}
       ```
   
 * You’ll need to create another statement like that that checks for “user_registered”
   and adds to the string variable $s the date as you’d like it.
 *  Thread Starter [jasnon](https://wordpress.org/support/users/jasnon/)
 * (@jasnon)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/registration-date-format/#post-3489222)
 * Excellent! I was able to get it to work by adding the following code to the location
   you suggested:
 * elseif($v[‘name’] == ‘user_registered’) {
    $s .= “\n “.str_replace(‘%value%’,
   date(“F j, Y”,strtotime($u->$v[‘name’])),$v[‘markup’]); continue; }
 * Thank you so much!!!
 *  Plugin Author [ternstyle](https://wordpress.org/support/users/mpraetzel/)
 * (@mpraetzel)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/registration-date-format/#post-3489223)
 * You’re welcome.

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

The topic ‘Registration Date Format’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/members-list_a1a1a1.svg)
 * [Members List Plugin](https://wordpress.org/plugins/members-list/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/members-list/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/members-list/)
 * [Active Topics](https://wordpress.org/support/plugin/members-list/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/members-list/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/members-list/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [ternstyle](https://wordpress.org/support/users/mpraetzel/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/registration-date-format/#post-3489223)
 * Status: resolved