Forum Discussion

danielbreton's avatar
danielbreton
New Member
10 years ago
Solved

active directory LastLogon

How can I convert Active Directory Last Logon to a readable date?   Active Directory stores date/time values as the number of 100-nanosecond intervals that have elapsed since the 0 hour on January ...
  • danielbreton's avatar
    10 years ago

    Found it

     

    Last Logon = IF(user[user.lastlogon]>0, user[user.lastlogon]/8.64*10^11)-109205, DATE(2000,01,01))