Getting LastLogonDate from Active Directory

I’m looking for a code example to read the LastLogonDate value from the Active Directory on Windows. In general, reading the data into an adoRecordset works well. But I have problems with the logon fields.
How can I read out the values (Integer8) and how can I convert them to a date?