diff --git a/CRM/Member/Form/Membership.php b/CRM/Member/Form/Membership.php index e316e4201bf3..ea63606ec41a 100644 --- a/CRM/Member/Form/Membership.php +++ b/CRM/Member/Form/Membership.php @@ -417,7 +417,7 @@ public function setDefaultValues() { //setting default join date if there is no join date if (empty($defaults['join_date'])) { - $defaults['join_date'] = date('Y-m-d H:i:s'); + $defaults['join_date'] = date('Y-m-d'); } if (!empty($defaults['membership_end_date'])) {