Compare log in Data ( excel Files)

I have the log in Data of the employees.
I would like to Compare the log in Data before and After a specific Time .
I Want to Check if the Password Changes Happen regulary.
How can i Build a RPA for this Use case.