How do a convert an Integer8 type value to a DateTime one? In particular, I’m attempting to get the accountExpires Active Directory User property in a human-readable form. SearchResult.GetDirectoryEntry.Properties("accountExpires") returns a value of “9223372036854775807.”
How do a convert an Integer8 type value to a DateTime one? In particular,
Share
Use DateTime.FromFileTime.
http://forums.asp.net/t/999913.aspx/1?Reading+AccountExpires+Property