With the attribute Last-Logon-Timestamp it is possible to retrieve a users’ last logon date. Keep in mind that syncronisation of this attribute only happens on a 14 day schedule (default config). Read more on this attribute.
View or download the VBScript.
Pingback: Active Directory: Users’ last logon timestamp | MyLifeBits