What's the difference between lastLogin and modified properties in class
User(gis, username, userdict=None)?
lastLogin is the last login date of the user. modified is the date the user was last modified. From these descriptions one would expect the two properties to be different, but they are not. They both show the lastLogin.
We need to be able to audit changes (role, user type, password) to the accounts. modified property has to be designated specifically for this purpose and not be a redundant property for lastLogin
The ArcGIS API for Python is mostly a Python wrapper for the ArcGIS REST API. For the user you are looking up, does the REST API show the same dates and times?
Both properties return the exact same value "2020-02-24 14:1909".
Seeing your result, I will share this question with ArcGIS REST API because whatever question or issue you are having isn't related to Python.