Answers.Body: <p>I have a <a href="https://github.com/MegaphoneJon/org.cpehn.subscriptionhistory" rel="nofollow noreferrer">report for this on Github</a>.</p>
  <p>EDIT: Ignore comments below; this report works on modern versions of CiviCRM, and Laryn's improvements are now part of my extension.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-27T18:13:47.750Z
Answers.Text: Thanks! I've been using this (forked with some tweaks) and it's doing what I need. https://github.com/laryn/org.cpehn.subscriptionhistory
Answers.UserDisplayName: Laryn
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-27T20:08:15.140Z
Answers.Text: Hooray for open source!  Happy to accept a PR with your changes, too.  I might even submit this to the extension directory since other folks are finding it helpful.
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-27T23:02:15.330Z
Answers.Text:  PR submitted -- see what you think of the changes. :)
Answers.UserDisplayName: Laryn
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-09-19T16:40:43.503Z
Answers.Text: @JonG-MegaphoneTech – count me as someone who would be really grateful if you added "search by group add date" to the extension directory. :-)
Answers.UserDisplayName: Elijah van der Giessen
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-09-20T02:49:58.557Z
Answers.Text: @Eiljah you can download my extension from Github, or better yet Laryn's fork.  If you're constrained to the extension directory for whatever reason, the GDPR extension has a very similar report.
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-02-13T23:13:48.210Z
Answers.LastActivityDate: 2020-11-11T22:18:14.217Z
Answers.LastEditDate: 2020-11-11T22:18:14.217Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.Body: <p>You can also do this in SearchKit by using the Contact Subscription Histories entity.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-10-24T08:16:59.170Z
Answers.LastActivityDate: 2023-10-24T08:16:59.170Z
Answers.UserDisplayName: cray146
Body: <p>When viewing a contact's Group tab, you can see the groups as well as the date that they were added to the group.</p>
  
  <p><a href="https://i.sstatic.net/EQHlt.jpg" rel="noreferrer"><img src="https://i.sstatic.net/EQHlt.jpg" alt="Contact &gt; Groups tab"></a></p>
  
  <p>I've been trying to find a way to search based on the date that a contact was added to a standard group but running stuck. For example, a search for: </p>
  
  <ul>
  <li>contacts that are added to the "Newsletter Subscribers" group </li>
  <li>only those added within the last month</li>
  </ul>
  
  <p>Is this type of thing possible?</p>
  
Tags: <groups><search><dates>
Title: Searching/filtering by the date a contact was added to a group
ThreadText: # Searching/filtering by the date a contact was added to a group
  
  (Asked by: username_0 on 2018-02-13)
  
  When viewing a contact's Group tab, you can see the groups as well as the date that they were added to the group.
  
  [![Contact > Groups tab](https://i.sstatic.net/EQHlt.jpg)](https://i.sstatic.net/EQHlt.jpg)
  
  I've been trying to find a way to search based on the date that a contact was added to a standard group but running stuck. For example, a search for:
  
  * contacts that are added to the "Newsletter Subscribers" group
  * only those added within the last month
  
  Is this type of thing possible?
  
  **Tags:** groups, search, dates
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2018-02-13. Score: 6 | Accepted answer
  
  I have a [report for this on Github](https://github.com/MegaphoneJon/org.cpehn.subscriptionhistory).
  
  EDIT: Ignore comments below; this report works on modern versions of CiviCRM, and username_0's improvements are now part of my extension.
  
  > **Comments:**
  > **username_0**: Thanks! I've been using this (forked with some tweaks) and it's doing what I need. https://github.com/username_0/org.cpehn.subscriptionhistory  
  > **username_1**: Hooray for open source!  Happy to accept a PR with your changes, too.  I might even submit this to the extension directory since other folks are finding it helpful.  
  > **username_0**:  PR submitted -- see what you think of the changes. :)  
  > **username_2**: @username_1 – count me as someone who would be really grateful if you added "search by group add date" to the extension directory. :-)  
  > **username_1**: @Eiljah you can download my extension from Github, or better yet username_0's fork.  If you're constrained to the extension directory for whatever reason, the GDPR extension has a very similar report.  
  
  ---
  
  ### Answer by username_3 on 2023-10-24. Score: 2
  
  You can also do this in SearchKit by using the Contact Subscription Histories entity.
  
  
  ---
  
  