3

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.

1 Answer 1

1

Something like this should do it:

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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