Answers.Body: <p>Something like this should do it:</p>
  
  <pre><code>craft.users.status('active,pending').dateCreated('&gt; 2015-06-22').total()
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-07-08T09:16:29.893Z
Answers.Text: Perfect cheers @BradBell
Answers.UserDisplayName: Lettie
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-07-07T20:18:00.050Z
Answers.LastActivityDate: 2015-07-07T20:18:00.050Z
Answers.UserDisplayName: Brad Bell
Body: <p>Ok little stuck on this. I am trying to return the number of users registered after a specific date. So far I have tried the below using after but it is still returning all users regardless of the date.</p>
  
  <pre><code>craft.users.status('active,pending').after('2015-06-22').total()
  </code></pre>
  
  <p>Any help appreciated.</p>
  
Tags: <users>
Title: How can I return the number of users registered after a specified date?
ThreadText: # How can I return the number of users registered after a specified date?
  
  (Asked by: username_0 on 2015-07-07)
  
  Ok little stuck on this. I am trying to return the number of users registered after a specific date. So far I have tried the below using after but it is still returning all users regardless of the date.
  
  ```
  craft.users.status('active,pending').after('2015-06-22').total()
  
  ```
  
  Any help appreciated.
  
  **Tags:** users
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-07-07. Score: 1 | Accepted answer
  
  Something like this should do it:
  
  ```
  craft.users.status('active,pending').dateCreated('> 2015-06-22').total()
  
  ```
  
  > **Comments:**
  > **username_0**: Perfect cheers @username_1  
  
  ---
  
  