Drupal - How to track user logins
I think you are looking for User Stats module.
Provides commonly requested user statistics for themers, IP address tracking and Views integration. Statistics are:
- days registered;
- join date;
- days since last login;
- days since last post;
- post count;
- login count;
- user online/offline;
- IP address;
Just to close off this question I will share how I managed to track the user login times.
I simply wrote a module that added a table to the db and on login I would add the login/user event + date-time to the table.
Then I was able to access how many times and at what time users were logging in. This was something I wasn't able to get from the User Stats module.