<p>Something like this should do it:</p>

<pre><code>craft.users.status('active,pending').dateCreated('&gt; 2015-06-22').total()
</code></pre>

CC BY-SA 3.0
2015-07-08T09:16:29.893Z
Perfect cheers @BradBell
Lettie
CC BY-SA 3.0
2015-07-07T20:18:00.050Z
2015-07-07T20:18:00.050Z
Brad Bell
<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>

<users>
How can I return the number of users registered after a specified date?
# 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 @BradBell  

---

