The associated date fields are:
xf_user.last_activity
xf_session_activity.view_date
What is the next run time of this cron?
Admin CP -> Tools -> Cron Entries -> Hourly Clean Up
If that cron is failing to run for some reason then xf_user.last_activity will not be updated.