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.


Any help appreciated.


Something like this should do it:

craft.users.status('active,pending').dateCreated('> 2015-06-22').total()
  • Perfect cheers @BradBell
    – Lettie
    Jul 8 '15 at 9:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.