I am trying to create user view for those user who never logged in. For this i need a filter as last login is equal to zero. Any body knows how to select filter as last login is zero.

When i used Operator equal to zero it shows a message Invalid date format.

  • 1
    Drupal uses Unix time, what basically is the number of seconds since Unix Epoch (the number of seconds since January 1st 1970). That value should be equal to 0. Can you filter on that? Jan 12 '15 at 11:37

Yes, after long search i got a suitable answer If i put in operator is equal to value 1970. it gives me result basically 1970 consider as a zero value.


You can go for:
filter: last login
is less than: 1980-01-01
It should work

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.